Shortlinks by Pretty Links – Best WordPress Link Tracking Plugin - Version 2.0.6

Version Description

  • Fixed numerous bugs
Download this release

Release Info

Developer supercleanse
Plugin Icon 128x128 Shortlinks by Pretty Links – Best WordPress Link Tracking Plugin
Version 2.0.6
Comparing to
See all releases

Code changes from version 2.0.5 to 2.0.6

app/controllers/PrliPopupController.php CHANGED
@@ -11,14 +11,14 @@ class PrliPopupController extends PrliBaseController {
11
  // This is an array of the currently defined popups ...
12
  // used to validate that the popup specified actually exists
13
  $this->popups = array(
14
- 'upgrade' => array(
15
  'after_usage' => true,
16
  'user_popup' => true,
17
  'lite_only_popup' => true,
18
  'delay' => MONTH_IN_SECONDS,
19
  'delay_after_last_popup' => WEEK_IN_SECONDS,
20
  ),
21
- 'rating' => array(
22
  'after_usage' => true,
23
  'user_popup' => true,
24
  'lite_only_popup' => true,
@@ -65,7 +65,14 @@ class PrliPopupController extends PrliBaseController {
65
  }
66
  }
67
 
 
 
 
 
 
68
  public function display_popups() {
 
 
69
  // If this isn't a Pretty Link authorized user then bail
70
  if(!PrliUtils::is_authorized()) { return; }
71
 
11
  // This is an array of the currently defined popups ...
12
  // used to validate that the popup specified actually exists
13
  $this->popups = array(
14
+ 'rating' => array(
15
  'after_usage' => true,
16
  'user_popup' => true,
17
  'lite_only_popup' => true,
18
  'delay' => MONTH_IN_SECONDS,
19
  'delay_after_last_popup' => WEEK_IN_SECONDS,
20
  ),
21
+ 'upgrade' => array(
22
  'after_usage' => true,
23
  'user_popup' => true,
24
  'lite_only_popup' => true,
65
  }
66
  }
67
 
68
+ private function on_pretty_link_page() {
69
+ $screen = get_current_screen();
70
+ return (isset($screen->parent_base) && $screen->parent_base=='pretty-link');
71
+ }
72
+
73
  public function display_popups() {
74
+ if(!$this->on_pretty_link_page()) { return; }
75
+
76
  // If this isn't a Pretty Link authorized user then bail
77
  if(!PrliUtils::is_authorized()) { return; }
78
 
i18n/pretty-link.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Pretty Link package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Pretty Link 2.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/pretty-link\n"
7
- "POT-Creation-Date: 2017-02-23 04:02:01+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -17,7 +17,7 @@ msgstr ""
17
  msgid "Pretty Link | Manage Pretty Links"
18
  msgstr ""
19
 
20
- #. #-#-#-#-# pretty-link.pot (Pretty Link 2.0.5) #-#-#-#-#
21
  #. Plugin Name of the plugin/theme
22
  #: app/controllers/PrliAppController.php:37
23
  #: app/controllers/PrliAppController.php:46 app/views/links/form.php:47
@@ -229,23 +229,23 @@ msgstr ""
229
  msgid "An unknown error occurred."
230
  msgstr ""
231
 
232
- #: app/controllers/PrliPopupController.php:82
233
  msgid "Forbidden"
234
  msgstr ""
235
 
236
- #: app/controllers/PrliPopupController.php:86
237
  msgid "Must specify a popup"
238
  msgstr ""
239
 
240
- #: app/controllers/PrliPopupController.php:92
241
  msgid "Invalid popup"
242
  msgstr ""
243
 
244
- #: app/controllers/PrliPopupController.php:97
245
  msgid "The popup was successfully delayed"
246
  msgstr ""
247
 
248
- #: app/controllers/PrliPopupController.php:101
249
  msgid "The popup was successfully stopped"
250
  msgstr ""
251
 
2
  # This file is distributed under the same license as the Pretty Link package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Pretty Link 2.0.6\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/pretty-link\n"
7
+ "POT-Creation-Date: 2017-02-23 13:51:57+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
17
  msgid "Pretty Link | Manage Pretty Links"
18
  msgstr ""
19
 
20
+ #. #-#-#-#-# pretty-link.pot (Pretty Link 2.0.6) #-#-#-#-#
21
  #. Plugin Name of the plugin/theme
22
  #: app/controllers/PrliAppController.php:37
23
  #: app/controllers/PrliAppController.php:46 app/views/links/form.php:47
229
  msgid "An unknown error occurred."
230
  msgstr ""
231
 
232
+ #: app/controllers/PrliPopupController.php:89
233
  msgid "Forbidden"
234
  msgstr ""
235
 
236
+ #: app/controllers/PrliPopupController.php:93
237
  msgid "Must specify a popup"
238
  msgstr ""
239
 
240
+ #: app/controllers/PrliPopupController.php:99
241
  msgid "Invalid popup"
242
  msgstr ""
243
 
244
+ #: app/controllers/PrliPopupController.php:104
245
  msgid "The popup was successfully delayed"
246
  msgstr ""
247
 
248
+ #: app/controllers/PrliPopupController.php:108
249
  msgid "The popup was successfully stopped"
250
  msgstr ""
251
 
pretty-link.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Pretty Link
4
  Plugin URI: http://prettylinkpro.com
5
  Description: Shrink, track and share any URL on the Internet from your WordPress website!
6
- Version: 2.0.5
7
  Author: Blair Williams
8
  Author URI: http://blairwilliams.com
9
  Text Domain: pretty-link
3
  Plugin Name: Pretty Link
4
  Plugin URI: http://prettylinkpro.com
5
  Description: Shrink, track and share any URL on the Internet from your WordPress website!
6
+ Version: 2.0.6
7
  Author: Blair Williams
8
  Author URI: http://blairwilliams.com
9
  Text Domain: pretty-link
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://prettylinkpro.com
4
  Tags: links, link, url, urls, affiliate, affiliates, pretty, marketing, redirect, forward, plugin, twitter, tweet, rewrite, shorturl, hoplink, hop, shortlink, short, shorten, click, clicks, track, tracking, tiny, tinyurl, budurl, shrinking, domain, shrink, mask, masking, cloak, cloaking, slug, slugs, admin, administration, stats, statistics, stat, statistic, email, ajax, javascript, ui, csv, download, page, post, pages, posts, shortcode, seo, automation, widget, widgets, dashboard
5
  Requires at least: 4.7
6
  Tested up to: 4.7.2
7
- Stable tag: 2.0.4
8
 
9
  Shrink, beautify, track, manage and share any URL on or off of your WordPress website. Create links that look how you want using your own domain name!
10
 
@@ -66,7 +66,7 @@ http://blairwilliams.com/w7a
66
 
67
  == Changelog ==
68
 
69
- = 2.0.5 =
70
  * Fixed numerous bugs
71
 
72
  = 2.0.4 =
@@ -157,7 +157,7 @@ http://blairwilliams.com/w7a
157
 
158
  == Upgrade Notice ==
159
 
160
- = 2.0.5 =
161
  * Important bug fixes, every user should upgrade.
162
 
163
  = 2.0.3 =
4
  Tags: links, link, url, urls, affiliate, affiliates, pretty, marketing, redirect, forward, plugin, twitter, tweet, rewrite, shorturl, hoplink, hop, shortlink, short, shorten, click, clicks, track, tracking, tiny, tinyurl, budurl, shrinking, domain, shrink, mask, masking, cloak, cloaking, slug, slugs, admin, administration, stats, statistics, stat, statistic, email, ajax, javascript, ui, csv, download, page, post, pages, posts, shortcode, seo, automation, widget, widgets, dashboard
5
  Requires at least: 4.7
6
  Tested up to: 4.7.2
7
+ Stable tag: 2.0.6
8
 
9
  Shrink, beautify, track, manage and share any URL on or off of your WordPress website. Create links that look how you want using your own domain name!
10
 
66
 
67
  == Changelog ==
68
 
69
+ = 2.0.6 =
70
  * Fixed numerous bugs
71
 
72
  = 2.0.4 =
157
 
158
  == Upgrade Notice ==
159
 
160
+ = 2.0.6 =
161
  * Important bug fixes, every user should upgrade.
162
 
163
  = 2.0.3 =