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

Version Description

  • Small security fix
Download this release

Release Info

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

Code changes from version 1.6.7 to 1.6.8

classes/controllers/PrliLinksController.php CHANGED
@@ -353,7 +353,7 @@ class PrliLinksController
353
  'id' => (isset($_REQUEST['id'])?$_REQUEST['id']:''),
354
  'group_name' => (isset($_REQUEST['group_name'])?$_REQUEST['group_name']:''),
355
  'paged' => (isset($_REQUEST['paged'])?$_REQUEST['paged']:1),
356
- 'group' => (isset($_REQUEST['group'])?$_REQUEST['group']:''),
357
  'search' => (isset($_REQUEST['search'])?$_REQUEST['search']:''),
358
  'sort' => (isset($_REQUEST['sort'])?$_REQUEST['sort']:''),
359
  'sdir' => (isset($_REQUEST['sdir'])?$_REQUEST['sdir']:''),
353
  'id' => (isset($_REQUEST['id'])?$_REQUEST['id']:''),
354
  'group_name' => (isset($_REQUEST['group_name'])?$_REQUEST['group_name']:''),
355
  'paged' => (isset($_REQUEST['paged'])?$_REQUEST['paged']:1),
356
+ 'group' => (isset($_REQUEST['group'])?(int)$_REQUEST['group']:''),
357
  'search' => (isset($_REQUEST['search'])?$_REQUEST['search']:''),
358
  'sort' => (isset($_REQUEST['sort'])?$_REQUEST['sort']:''),
359
  'sdir' => (isset($_REQUEST['sdir'])?$_REQUEST['sdir']:''),
classes/views/shared/link-table-nav.php CHANGED
@@ -14,7 +14,7 @@ if(!defined('ABSPATH'))
14
  if($current_page > 1)
15
  {
16
  ?>
17
- <a class='prev page-numbers' href='?page=<?php echo esc_html($_REQUEST['page'].$page_params); ?>&paged=<?php echo ($current_page-1); ?>&size=<?php echo $_REQUEST['size']; ?>'>&laquo;</a>
18
  <?php
19
  }
20
 
@@ -28,7 +28,7 @@ if(!defined('ABSPATH'))
28
  else
29
  {
30
  ?>
31
- <a class='page-numbers' href='?page=<?php echo esc_html($_REQUEST['page'].$page_params); ?>&paged=1&size=<?php echo $_REQUEST['size']; ?>'>1</a>
32
  <?php
33
  }
34
 
@@ -54,7 +54,7 @@ if(!defined('ABSPATH'))
54
  else
55
  {
56
  ?>
57
- <a class='page-numbers' href='?page=<?php echo esc_html($_REQUEST['page'].$page_params); ?>&paged=<?php echo $i; ?>&size=<?php echo $_REQUEST['size']; ?>'><?php echo $i; ?></a>
58
  <?php
59
  }
60
  }
@@ -77,7 +77,7 @@ if(!defined('ABSPATH'))
77
  else
78
  {
79
  ?>
80
- <a class='page-numbers' href='?page=<?php echo esc_html($_REQUEST['page'].$page_params); ?>&paged=<?php echo $page_count; ?>&size=<?php echo $_REQUEST['size']; ?>'><?php echo $page_count; ?></a>
81
  <?php
82
  }
83
 
@@ -85,7 +85,7 @@ if(!defined('ABSPATH'))
85
  if($current_page < $page_count)
86
  {
87
  ?>
88
- <a class='next page-numbers' href='?page=<?php echo esc_html($_REQUEST['page'].$page_params); ?>&paged=<?php echo ($current_page + 1); ?>&size=<?php echo $_REQUEST['size']; ?>'>&raquo;</a>
89
  <?php
90
  }
91
  ?>
14
  if($current_page > 1)
15
  {
16
  ?>
17
+ <a class='prev page-numbers' href='?page=<?php echo esc_html($_REQUEST['page'].$page_params); ?>&paged=<?php echo ($current_page-1); ?>&size=<?php echo (int)$_REQUEST['size']; ?>'>&laquo;</a>
18
  <?php
19
  }
20
 
28
  else
29
  {
30
  ?>
31
+ <a class='page-numbers' href='?page=<?php echo esc_html($_REQUEST['page'].$page_params); ?>&paged=1&size=<?php echo (int)$_REQUEST['size']; ?>'>1</a>
32
  <?php
33
  }
34
 
54
  else
55
  {
56
  ?>
57
+ <a class='page-numbers' href='?page=<?php echo esc_html($_REQUEST['page'].$page_params); ?>&paged=<?php echo $i; ?>&size=<?php echo (int)$_REQUEST['size']; ?>'><?php echo $i; ?></a>
58
  <?php
59
  }
60
  }
77
  else
78
  {
79
  ?>
80
+ <a class='page-numbers' href='?page=<?php echo esc_html($_REQUEST['page'].$page_params); ?>&paged=<?php echo $page_count; ?>&size=<?php echo (int)$_REQUEST['size']; ?>'><?php echo $page_count; ?></a>
81
  <?php
82
  }
83
 
85
  if($current_page < $page_count)
86
  {
87
  ?>
88
+ <a class='next page-numbers' href='?page=<?php echo esc_html($_REQUEST['page'].$page_params); ?>&paged=<?php echo ($current_page + 1); ?>&size=<?php echo (int)$_REQUEST['size']; ?>'>&raquo;</a>
89
  <?php
90
  }
91
  ?>
pretty-link.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Pretty Link Lite
4
  Plugin URI: http://blairwilliams.com/pretty-link
5
  Description: Shrink, track and share any URL on the Internet from your WordPress website!
6
- Version: 1.6.7
7
  Author: Caseproof
8
  Author URI: http://caseproof.com
9
  Text Domain: pretty-link
3
  Plugin Name: Pretty Link Lite
4
  Plugin URI: http://blairwilliams.com/pretty-link
5
  Description: Shrink, track and share any URL on the Internet from your WordPress website!
6
+ Version: 1.6.8
7
  Author: Caseproof
8
  Author URI: http://caseproof.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: 3.9
6
- Tested up to: 4.2.2
7
- Stable tag: 1.6.7
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,9 @@ http://blairwilliams.com/w7a
66
 
67
  == Changelog ==
68
 
 
 
 
69
  = 1.6.7 =
70
  * A fix to remove url encoding from target urls
71
 
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: 3.9
6
+ Tested up to: 4.4
7
+ Stable tag: 1.6.8
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
+ = 1.6.8 =
70
+ * Small security fix
71
+
72
  = 1.6.7 =
73
  * A fix to remove url encoding from target urls
74