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

Version Description

  • Redeploy to WP Repo
Download this release

Release Info

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

Code changes from version 2.1.0 to 2.1.1

app/views/shared/tinymce_form_popup.php CHANGED
@@ -22,11 +22,10 @@
22
  <script language="javascript" type="text/javascript" src="<?php echo includes_url('/js/jquery/ui/menu.min.js'); ?>"></script>
23
  <script language="javascript" type="text/javascript" src="<?php echo includes_url('/js/jquery/ui/autocomplete.min.js'); ?>"></script>
24
  <script language="javascript" type="text/javascript" src="<?php echo includes_url('/js/jquery/ui/accordion.min.js'); ?>"></script>
25
- <script language="javascript" type="text/javascript" src="<?php echo includes_url('/js/tinymce/tiny_mce_popup.js'); ?>"></script>
26
  <script type="text/javascript">
27
  //Setting up some JS variables for the tinymce_form_popup.js file
28
  //Doing this here becuase I have access to PHP
29
- var prli_selected_text = ''; //Updated on ButtonDialog.init
30
  var home_url = '<?php echo $home_url; ?>';
31
  var default_redirect = '<?php echo $default_redirect; ?>';
32
  var default_nofollow = '<?php echo $default_nofollow; ?>';
@@ -94,7 +93,7 @@
94
  <input type="checkbox" name="prli_insert_link_new_tab" id="prli_insert_link_new_tab" /> <?php _e('Open this Pretty Link in a new window/tab', 'pretty-link'); ?>
95
  </div>
96
  <div class="prlitinymce-options-row" id="prlitinymce-insert">
97
- <a href="javascript:ButtonDialog.insert_new(ButtonDialog.local_ed)" class="prli_button"><?php _e('Insert New Pretty Link', 'pretty-link'); ?></a>
98
  <span id="insert_loading" class="prlitinymce-hidden"><img src="<?php echo includes_url('/js/thickbox/loadingAnimation.gif'); ?>" width="150" /></span>
99
  </div>
100
  </div>
@@ -119,7 +118,7 @@
119
  </div>
120
  <div class="prlitinymce-options-row" id="existing_link_insert">
121
  <input type="hidden" name="existing_link_nofollow" id="existing_link_nofollow" value="0" />
122
- <a href="javascript:ButtonDialog.insert_existing(ButtonDialog.local_ed)" class="prli_button"><?php _e('Insert Existing Pretty Link', 'pretty-link'); ?></a>
123
  </div>
124
  </div>
125
  </div>
22
  <script language="javascript" type="text/javascript" src="<?php echo includes_url('/js/jquery/ui/menu.min.js'); ?>"></script>
23
  <script language="javascript" type="text/javascript" src="<?php echo includes_url('/js/jquery/ui/autocomplete.min.js'); ?>"></script>
24
  <script language="javascript" type="text/javascript" src="<?php echo includes_url('/js/jquery/ui/accordion.min.js'); ?>"></script>
 
25
  <script type="text/javascript">
26
  //Setting up some JS variables for the tinymce_form_popup.js file
27
  //Doing this here becuase I have access to PHP
28
+ var prli_selected_text = ''; //Updated on PrliPopUpHandler.init
29
  var home_url = '<?php echo $home_url; ?>';
30
  var default_redirect = '<?php echo $default_redirect; ?>';
31
  var default_nofollow = '<?php echo $default_nofollow; ?>';
93
  <input type="checkbox" name="prli_insert_link_new_tab" id="prli_insert_link_new_tab" /> <?php _e('Open this Pretty Link in a new window/tab', 'pretty-link'); ?>
94
  </div>
95
  <div class="prlitinymce-options-row" id="prlitinymce-insert">
96
+ <a href="javascript:PrliPopUpHandler.insert_new()" class="prli_button"><?php _e('Insert New Pretty Link', 'pretty-link'); ?></a>
97
  <span id="insert_loading" class="prlitinymce-hidden"><img src="<?php echo includes_url('/js/thickbox/loadingAnimation.gif'); ?>" width="150" /></span>
98
  </div>
99
  </div>
118
  </div>
119
  <div class="prlitinymce-options-row" id="existing_link_insert">
120
  <input type="hidden" name="existing_link_nofollow" id="existing_link_nofollow" value="0" />
121
+ <a href="javascript:PrliPopUpHandler.insert_existing()" class="prli_button"><?php _e('Insert Existing Pretty Link', 'pretty-link'); ?></a>
122
  </div>
123
  </div>
124
  </div>
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.9\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/pretty-link\n"
7
- "POT-Creation-Date: 2017-05-23 22:57:21+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,11 +17,11 @@ msgstr ""
17
  msgid "Pretty Link | Manage Pretty Links"
18
  msgstr ""
19
 
20
- #. #-#-#-#-# pretty-link.pot (Pretty Link 2.0.9) #-#-#-#-#
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
24
- #: app/views/shared/tinymce_form_popup.php:109 app/views/widgets/widget.php:17
25
  #: pro/app/views/links/prettybar.php:191
26
  msgid "Pretty Link"
27
  msgstr ""
@@ -371,25 +371,25 @@ msgid "There was an error fetching your Pretty Link URL"
371
  msgstr ""
372
 
373
  #: app/helpers/PrliAppHelper.php:23 app/helpers/PrliLinksHelper.php:14
374
- #: app/views/links/form.php:100 app/views/shared/tinymce_form_popup.php:106
375
- #: app/views/shared/tinymce_form_popup.php:110 pro/app/views/links/form.php:185
376
  #: pro/app/views/options/form.php:703 pro/app/views/tools/generator.php:35
377
  #: pro/app/widgets/PlpPublicLinksWidget.php:80
378
  msgid "None"
379
  msgstr ""
380
 
381
  #: app/helpers/PrliLinksHelper.php:37 app/views/links/form.php:15
382
- #: app/views/shared/tinymce_form_popup.php:63
383
  msgid "307 (Temporary)"
384
  msgstr ""
385
 
386
  #: app/helpers/PrliLinksHelper.php:38 app/views/links/form.php:16
387
- #: app/views/shared/tinymce_form_popup.php:64
388
  msgid "302 (Temporary)"
389
  msgstr ""
390
 
391
  #: app/helpers/PrliLinksHelper.php:39 app/views/links/form.php:17
392
- #: app/views/shared/tinymce_form_popup.php:65
393
  msgid "301 (Permanent)"
394
  msgstr ""
395
 
@@ -1117,8 +1117,8 @@ msgstr ""
1117
  msgid "Target URL*"
1118
  msgstr ""
1119
 
1120
- #: app/views/links/form.php:34 app/views/shared/tinymce_form_popup.php:44
1121
- #: app/views/shared/tinymce_form_popup.php:105 app/views/widgets/widget.php:13
1122
  msgid "Target URL"
1123
  msgstr ""
1124
 
@@ -1209,7 +1209,7 @@ msgid "Forward parameters passed to this link onto the Target URL"
1209
  msgstr ""
1210
 
1211
  #: app/views/links/form.php:153 app/views/links/form.php:156
1212
- #: app/views/shared/tinymce_form_popup.php:85
1213
  msgid "Tracking"
1214
  msgstr ""
1215
 
@@ -1283,7 +1283,7 @@ msgstr ""
1283
  msgid "Basic Link Options"
1284
  msgstr ""
1285
 
1286
- #: app/views/links/list.php:75 app/views/shared/tinymce_form_popup.php:60
1287
  msgid "Redirect Type"
1288
  msgstr ""
1289
 
@@ -1291,7 +1291,7 @@ msgstr ""
1291
  msgid "Track"
1292
  msgstr ""
1293
 
1294
- #: app/views/links/list.php:83 app/views/shared/tinymce_form_popup.php:77
1295
  msgid "Nofollow"
1296
  msgstr ""
1297
 
@@ -1514,94 +1514,94 @@ msgstr ""
1514
  msgid "Insert Pretty Link"
1515
  msgstr ""
1516
 
1517
- #: app/views/shared/tinymce_form_popup.php:41
1518
  msgid "Create New Pretty Link"
1519
  msgstr ""
1520
 
1521
- #: app/views/shared/tinymce_form_popup.php:48
1522
  msgid "Slug"
1523
  msgstr ""
1524
 
1525
- #: app/views/shared/tinymce_form_popup.php:51
1526
  msgid "valid"
1527
  msgstr ""
1528
 
1529
- #: app/views/shared/tinymce_form_popup.php:52
1530
  msgid "invalid"
1531
  msgstr ""
1532
 
1533
- #: app/views/shared/tinymce_form_popup.php:56
1534
- #: app/views/shared/tinymce_form_popup.php:113
1535
  msgid "Link Text"
1536
  msgstr ""
1537
 
1538
- #: app/views/shared/tinymce_form_popup.php:62
1539
- #: app/views/shared/tinymce_form_popup.php:79
1540
- #: app/views/shared/tinymce_form_popup.php:87
1541
  #: pro/app/views/tools/generator.php:22 pro/app/views/tools/generator.php:27
1542
  #: pro/app/widgets/PlpPublicLinksWidget.php:59
1543
  #: pro/app/widgets/PlpPublicLinksWidget.php:71
1544
  msgid "Default"
1545
  msgstr ""
1546
 
1547
- #: app/views/shared/tinymce_form_popup.php:68
1548
  #: pro/app/controllers/PlpLinksController.php:628
1549
- #: pro/app/controllers/PlpLinksController.php:684
1550
  #: pro/app/views/options/nav.php:5
1551
  msgid "Pretty Bar"
1552
  msgstr ""
1553
 
1554
- #: app/views/shared/tinymce_form_popup.php:69
1555
  #: pro/app/controllers/PlpLinksController.php:629
1556
  msgid "Cloaked"
1557
  msgstr ""
1558
 
1559
- #: app/views/shared/tinymce_form_popup.php:70
1560
  #: pro/app/controllers/PlpLinksController.php:630
1561
- #: pro/app/controllers/PlpLinksController.php:686
1562
  msgid "Pixel"
1563
  msgstr ""
1564
 
1565
- #: app/views/shared/tinymce_form_popup.php:71
1566
  #: pro/app/controllers/PlpLinksController.php:631
1567
- #: pro/app/controllers/PlpLinksController.php:687
1568
  msgid "Meta Refresh"
1569
  msgstr ""
1570
 
1571
- #: app/views/shared/tinymce_form_popup.php:72
1572
  #: pro/app/controllers/PlpLinksController.php:632
1573
- #: pro/app/controllers/PlpLinksController.php:688
1574
  msgid "Javascript"
1575
  msgstr ""
1576
 
1577
- #: app/views/shared/tinymce_form_popup.php:80
1578
- #: app/views/shared/tinymce_form_popup.php:88
1579
  msgid "Enabled"
1580
  msgstr ""
1581
 
1582
- #: app/views/shared/tinymce_form_popup.php:81
1583
- #: app/views/shared/tinymce_form_popup.php:89
1584
  msgid "Disabled"
1585
  msgstr ""
1586
 
1587
- #: app/views/shared/tinymce_form_popup.php:94
1588
- #: app/views/shared/tinymce_form_popup.php:118
1589
  msgid "Open this Pretty Link in a new window/tab"
1590
  msgstr ""
1591
 
1592
- #: app/views/shared/tinymce_form_popup.php:97
1593
  msgid "Insert New Pretty Link"
1594
  msgstr ""
1595
 
1596
- #: app/views/shared/tinymce_form_popup.php:101
1597
  msgid "Use Existing Pretty Link"
1598
  msgstr ""
1599
 
1600
- #: app/views/shared/tinymce_form_popup.php:103
1601
  msgid "Search by Slug, Title, or Target URL..."
1602
  msgstr ""
1603
 
1604
- #: app/views/shared/tinymce_form_popup.php:122
1605
  msgid "Insert Existing Pretty Link"
1606
  msgstr ""
1607
 
@@ -1854,64 +1854,64 @@ msgstr ""
1854
  msgid "Delay Redirect must be a number"
1855
  msgstr ""
1856
 
1857
- #: pro/app/controllers/PlpLinksController.php:685
1858
  #: pro/app/widgets/PlpPublicLinksWidget.php:64
1859
  msgid "Cloak"
1860
  msgstr ""
1861
 
1862
- #: pro/app/controllers/PlpLinksController.php:753
1863
  msgid "View QR Code for this link: %s"
1864
  msgstr ""
1865
 
1866
- #: pro/app/controllers/PlpLinksController.php:757
1867
  msgid "Download QR Code for this link: %s"
1868
  msgstr ""
1869
 
1870
- #: pro/app/controllers/PlpLinksController.php:828
1871
  msgid "This link expired on %1$s and will now cause a 404 error when visited"
1872
  msgstr ""
1873
 
1874
- #: pro/app/controllers/PlpLinksController.php:831
1875
  msgid "This link expired on %1$s and now redirects to %2$s"
1876
  msgstr ""
1877
 
1878
- #: pro/app/controllers/PlpLinksController.php:835
1879
  msgid "This link is set to expire after the date %s"
1880
  msgstr ""
1881
 
1882
- #: pro/app/controllers/PlpLinksController.php:846
1883
  msgid ""
1884
  "This link expired after %d clicks and will now cause a 404 error when visited"
1885
  msgstr ""
1886
 
1887
- #: pro/app/controllers/PlpLinksController.php:849
1888
  msgid "This link expired after %1$d clicks and now redirects to %2$s"
1889
  msgstr ""
1890
 
1891
- #: pro/app/controllers/PlpLinksController.php:853
1892
  msgid "This link is set to expire after %d clicks"
1893
  msgstr ""
1894
 
1895
- #: pro/app/controllers/PlpLinksController.php:861
1896
  msgid "This link has additional Target URL rotations"
1897
  msgstr ""
1898
 
1899
- #: pro/app/controllers/PlpLinksController.php:864
1900
  msgid "This link has additional Geographic Target URLs"
1901
  msgstr ""
1902
 
1903
- #: pro/app/controllers/PlpLinksController.php:867
1904
  msgid "This link has additional Technology Dependent Conditional Target URLs"
1905
  msgstr ""
1906
 
1907
- #: pro/app/controllers/PlpLinksController.php:872
1908
  msgid ""
1909
  "A Time Period Redirect is currently active for this link. When visited it "
1910
  "will currently redirect to %s rather than the Target URL unless the link is "
1911
  "expired."
1912
  msgstr ""
1913
 
1914
- #: pro/app/controllers/PlpLinksController.php:876
1915
  msgid ""
1916
  "Time Period Redirects have been setup for this link but the current time is "
1917
  "not within any of them currently."
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.1.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/pretty-link\n"
7
+ "POT-Creation-Date: 2017-06-22 17:24:16+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.1.1) #-#-#-#-#
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
24
+ #: app/views/shared/tinymce_form_popup.php:108 app/views/widgets/widget.php:17
25
  #: pro/app/views/links/prettybar.php:191
26
  msgid "Pretty Link"
27
  msgstr ""
371
  msgstr ""
372
 
373
  #: app/helpers/PrliAppHelper.php:23 app/helpers/PrliLinksHelper.php:14
374
+ #: app/views/links/form.php:100 app/views/shared/tinymce_form_popup.php:105
375
+ #: app/views/shared/tinymce_form_popup.php:109 pro/app/views/links/form.php:185
376
  #: pro/app/views/options/form.php:703 pro/app/views/tools/generator.php:35
377
  #: pro/app/widgets/PlpPublicLinksWidget.php:80
378
  msgid "None"
379
  msgstr ""
380
 
381
  #: app/helpers/PrliLinksHelper.php:37 app/views/links/form.php:15
382
+ #: app/views/shared/tinymce_form_popup.php:62
383
  msgid "307 (Temporary)"
384
  msgstr ""
385
 
386
  #: app/helpers/PrliLinksHelper.php:38 app/views/links/form.php:16
387
+ #: app/views/shared/tinymce_form_popup.php:63
388
  msgid "302 (Temporary)"
389
  msgstr ""
390
 
391
  #: app/helpers/PrliLinksHelper.php:39 app/views/links/form.php:17
392
+ #: app/views/shared/tinymce_form_popup.php:64
393
  msgid "301 (Permanent)"
394
  msgstr ""
395
 
1117
  msgid "Target URL*"
1118
  msgstr ""
1119
 
1120
+ #: app/views/links/form.php:34 app/views/shared/tinymce_form_popup.php:43
1121
+ #: app/views/shared/tinymce_form_popup.php:104 app/views/widgets/widget.php:13
1122
  msgid "Target URL"
1123
  msgstr ""
1124
 
1209
  msgstr ""
1210
 
1211
  #: app/views/links/form.php:153 app/views/links/form.php:156
1212
+ #: app/views/shared/tinymce_form_popup.php:84
1213
  msgid "Tracking"
1214
  msgstr ""
1215
 
1283
  msgid "Basic Link Options"
1284
  msgstr ""
1285
 
1286
+ #: app/views/links/list.php:75 app/views/shared/tinymce_form_popup.php:59
1287
  msgid "Redirect Type"
1288
  msgstr ""
1289
 
1291
  msgid "Track"
1292
  msgstr ""
1293
 
1294
+ #: app/views/links/list.php:83 app/views/shared/tinymce_form_popup.php:76
1295
  msgid "Nofollow"
1296
  msgstr ""
1297
 
1514
  msgid "Insert Pretty Link"
1515
  msgstr ""
1516
 
1517
+ #: app/views/shared/tinymce_form_popup.php:40
1518
  msgid "Create New Pretty Link"
1519
  msgstr ""
1520
 
1521
+ #: app/views/shared/tinymce_form_popup.php:47
1522
  msgid "Slug"
1523
  msgstr ""
1524
 
1525
+ #: app/views/shared/tinymce_form_popup.php:50
1526
  msgid "valid"
1527
  msgstr ""
1528
 
1529
+ #: app/views/shared/tinymce_form_popup.php:51
1530
  msgid "invalid"
1531
  msgstr ""
1532
 
1533
+ #: app/views/shared/tinymce_form_popup.php:55
1534
+ #: app/views/shared/tinymce_form_popup.php:112
1535
  msgid "Link Text"
1536
  msgstr ""
1537
 
1538
+ #: app/views/shared/tinymce_form_popup.php:61
1539
+ #: app/views/shared/tinymce_form_popup.php:78
1540
+ #: app/views/shared/tinymce_form_popup.php:86
1541
  #: pro/app/views/tools/generator.php:22 pro/app/views/tools/generator.php:27
1542
  #: pro/app/widgets/PlpPublicLinksWidget.php:59
1543
  #: pro/app/widgets/PlpPublicLinksWidget.php:71
1544
  msgid "Default"
1545
  msgstr ""
1546
 
1547
+ #: app/views/shared/tinymce_form_popup.php:67
1548
  #: pro/app/controllers/PlpLinksController.php:628
1549
+ #: pro/app/controllers/PlpLinksController.php:675
1550
  #: pro/app/views/options/nav.php:5
1551
  msgid "Pretty Bar"
1552
  msgstr ""
1553
 
1554
+ #: app/views/shared/tinymce_form_popup.php:68
1555
  #: pro/app/controllers/PlpLinksController.php:629
1556
  msgid "Cloaked"
1557
  msgstr ""
1558
 
1559
+ #: app/views/shared/tinymce_form_popup.php:69
1560
  #: pro/app/controllers/PlpLinksController.php:630
1561
+ #: pro/app/controllers/PlpLinksController.php:677
1562
  msgid "Pixel"
1563
  msgstr ""
1564
 
1565
+ #: app/views/shared/tinymce_form_popup.php:70
1566
  #: pro/app/controllers/PlpLinksController.php:631
1567
+ #: pro/app/controllers/PlpLinksController.php:678
1568
  msgid "Meta Refresh"
1569
  msgstr ""
1570
 
1571
+ #: app/views/shared/tinymce_form_popup.php:71
1572
  #: pro/app/controllers/PlpLinksController.php:632
1573
+ #: pro/app/controllers/PlpLinksController.php:679
1574
  msgid "Javascript"
1575
  msgstr ""
1576
 
1577
+ #: app/views/shared/tinymce_form_popup.php:79
1578
+ #: app/views/shared/tinymce_form_popup.php:87
1579
  msgid "Enabled"
1580
  msgstr ""
1581
 
1582
+ #: app/views/shared/tinymce_form_popup.php:80
1583
+ #: app/views/shared/tinymce_form_popup.php:88
1584
  msgid "Disabled"
1585
  msgstr ""
1586
 
1587
+ #: app/views/shared/tinymce_form_popup.php:93
1588
+ #: app/views/shared/tinymce_form_popup.php:117
1589
  msgid "Open this Pretty Link in a new window/tab"
1590
  msgstr ""
1591
 
1592
+ #: app/views/shared/tinymce_form_popup.php:96
1593
  msgid "Insert New Pretty Link"
1594
  msgstr ""
1595
 
1596
+ #: app/views/shared/tinymce_form_popup.php:100
1597
  msgid "Use Existing Pretty Link"
1598
  msgstr ""
1599
 
1600
+ #: app/views/shared/tinymce_form_popup.php:102
1601
  msgid "Search by Slug, Title, or Target URL..."
1602
  msgstr ""
1603
 
1604
+ #: app/views/shared/tinymce_form_popup.php:121
1605
  msgid "Insert Existing Pretty Link"
1606
  msgstr ""
1607
 
1854
  msgid "Delay Redirect must be a number"
1855
  msgstr ""
1856
 
1857
+ #: pro/app/controllers/PlpLinksController.php:676
1858
  #: pro/app/widgets/PlpPublicLinksWidget.php:64
1859
  msgid "Cloak"
1860
  msgstr ""
1861
 
1862
+ #: pro/app/controllers/PlpLinksController.php:744
1863
  msgid "View QR Code for this link: %s"
1864
  msgstr ""
1865
 
1866
+ #: pro/app/controllers/PlpLinksController.php:748
1867
  msgid "Download QR Code for this link: %s"
1868
  msgstr ""
1869
 
1870
+ #: pro/app/controllers/PlpLinksController.php:819
1871
  msgid "This link expired on %1$s and will now cause a 404 error when visited"
1872
  msgstr ""
1873
 
1874
+ #: pro/app/controllers/PlpLinksController.php:822
1875
  msgid "This link expired on %1$s and now redirects to %2$s"
1876
  msgstr ""
1877
 
1878
+ #: pro/app/controllers/PlpLinksController.php:826
1879
  msgid "This link is set to expire after the date %s"
1880
  msgstr ""
1881
 
1882
+ #: pro/app/controllers/PlpLinksController.php:837
1883
  msgid ""
1884
  "This link expired after %d clicks and will now cause a 404 error when visited"
1885
  msgstr ""
1886
 
1887
+ #: pro/app/controllers/PlpLinksController.php:840
1888
  msgid "This link expired after %1$d clicks and now redirects to %2$s"
1889
  msgstr ""
1890
 
1891
+ #: pro/app/controllers/PlpLinksController.php:844
1892
  msgid "This link is set to expire after %d clicks"
1893
  msgstr ""
1894
 
1895
+ #: pro/app/controllers/PlpLinksController.php:852
1896
  msgid "This link has additional Target URL rotations"
1897
  msgstr ""
1898
 
1899
+ #: pro/app/controllers/PlpLinksController.php:855
1900
  msgid "This link has additional Geographic Target URLs"
1901
  msgstr ""
1902
 
1903
+ #: pro/app/controllers/PlpLinksController.php:858
1904
  msgid "This link has additional Technology Dependent Conditional Target URLs"
1905
  msgstr ""
1906
 
1907
+ #: pro/app/controllers/PlpLinksController.php:863
1908
  msgid ""
1909
  "A Time Period Redirect is currently active for this link. When visited it "
1910
  "will currently redirect to %s rather than the Target URL unless the link is "
1911
  "expired."
1912
  msgstr ""
1913
 
1914
+ #: pro/app/controllers/PlpLinksController.php:867
1915
  msgid ""
1916
  "Time Period Redirects have been setup for this link but the current time is "
1917
  "not within any of them currently."
js/tinymce_form_popup.js CHANGED
@@ -3,16 +3,12 @@ function prliHasWhiteSpace(s) {
3
  return /\s/g.test(s);
4
  }
5
 
6
- var ButtonDialog = {
7
- local_ed : 'ed',
8
- init : function(ed) {
9
- ButtonDialog.local_ed = ed;
10
- tinyMCEPopup.resizeToInnerSize();
11
-
12
  //Used in our insert function for link text
13
- prli_selected_text = ed.selection.getContent();
14
  },
15
- insert_new : function insertButton(ed) {
16
  jQuery('#errors').html('');
17
 
18
  //Setup the vars
@@ -87,8 +83,8 @@ var ButtonDialog = {
87
 
88
  output += '>' + link_text + '</a>';
89
 
90
- tinyMCEPopup.execCommand('mceReplaceContent', false, output);
91
- tinyMCEPopup.close();
92
  } else {
93
  //Link didn't save for some reason
94
  jQuery("#errors").append("* Link failed to be saved, double check your input below.").hide().fadeIn();
@@ -101,7 +97,7 @@ var ButtonDialog = {
101
  return false;
102
  }
103
  },
104
- insert_existing : function insertButton(ed) {
105
  jQuery('#errors').html('');
106
 
107
  var output = '';
@@ -129,8 +125,8 @@ var ButtonDialog = {
129
 
130
  output += '>' + link_text + '</a>';
131
 
132
- tinyMCEPopup.execCommand('mceReplaceContent', false, output);
133
- tinyMCEPopup.close();
134
  }
135
  else {
136
  jQuery("#errors").append("* You must search for and select an existing Pretty Link first.").hide().fadeIn();
@@ -139,12 +135,12 @@ var ButtonDialog = {
139
  }
140
  };
141
 
142
- //Init the pop-up stuff
143
- tinyMCEPopup.onInit.add(ButtonDialog.init, ButtonDialog);
144
-
145
  //jQuery event stuff
146
  (function($) {
147
  $(document).ready(function() {
 
 
 
148
  //Add a small delay so that prli_selected_text will be avaiable
149
  setTimeout(function() {
150
  //Nothing selected
3
  return /\s/g.test(s);
4
  }
5
 
6
+ var PrliPopUpHandler = {
7
+ init : function() {
 
 
 
 
8
  //Used in our insert function for link text
9
+ prli_selected_text = parent.tinymce.activeEditor.selection.getContent({format: 'text'});
10
  },
11
+ insert_new : function() {
12
  jQuery('#errors').html('');
13
 
14
  //Setup the vars
83
 
84
  output += '>' + link_text + '</a>';
85
 
86
+ parent.tinymce.activeEditor.execCommand('mceReplaceContent', false, output);
87
+ parent.tinymce.activeEditor.windowManager.close();
88
  } else {
89
  //Link didn't save for some reason
90
  jQuery("#errors").append("* Link failed to be saved, double check your input below.").hide().fadeIn();
97
  return false;
98
  }
99
  },
100
+ insert_existing : function() {
101
  jQuery('#errors').html('');
102
 
103
  var output = '';
125
 
126
  output += '>' + link_text + '</a>';
127
 
128
+ parent.tinymce.activeEditor.execCommand('mceReplaceContent', false, output);
129
+ parent.tinymce.activeEditor.windowManager.close();
130
  }
131
  else {
132
  jQuery("#errors").append("* You must search for and select an existing Pretty Link first.").hide().fadeIn();
135
  }
136
  };
137
 
 
 
 
138
  //jQuery event stuff
139
  (function($) {
140
  $(document).ready(function() {
141
+ //Init the function that does the stuff yo
142
+ PrliPopUpHandler.init();
143
+
144
  //Add a small delay so that prli_selected_text will be avaiable
145
  setTimeout(function() {
146
  //Nothing selected
pretty-link.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Pretty Link
4
  Plugin URI: https://prettylinkpro.com/pl/plugin-uri
5
  Description: Shrink, track and share any URL on the Internet from your WordPress website!
6
- Version: 2.0.9
7
  Author: Blair Williams
8
  Author URI: http://blairwilliams.com
9
  Text Domain: pretty-link
3
  Plugin Name: Pretty Link
4
  Plugin URI: https://prettylinkpro.com/pl/plugin-uri
5
  Description: Shrink, track and share any URL on the Internet from your WordPress website!
6
+ Version: 2.1.1
7
  Author: Blair Williams
8
  Author URI: http://blairwilliams.com
9
  Text Domain: pretty-link
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: supercleanse
3
  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.9
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,6 +66,12 @@ http://blairwilliams.com/w7a
66
 
67
  == Changelog ==
68
 
 
 
 
 
 
 
69
  = 2.0.9 =
70
  * Fixed pixel redirect type tracking
71
  * Fixed ordering for geo redirects
3
  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.9
7
+ Stable tag: 2.1.1
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.1.1 =
70
+ * Redeploy to WP Repo
71
+
72
+ = 2.1.0 =
73
+ * Fixed bug breaking TinyMCE
74
+
75
  = 2.0.9 =
76
  * Fixed pixel redirect type tracking
77
  * Fixed ordering for geo redirects