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

Version Description

  • A fix to remove url encoding from target urls
Download this release

Release Info

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

Code changes from version 1.6.6 to 1.6.7

Files changed (3) hide show
  1. classes/models/PrliLink.php +11 -10
  2. pretty-link.php +1 -1
  3. readme.txt +7 -1
classes/models/PrliLink.php CHANGED
@@ -36,12 +36,12 @@ class PrliLink
36
  'VALUES (%s,%s,%s,%s,%s,%s,%s,%d,%d,%d,NOW())';
37
 
38
  $query = $wpdb->prepare( $query_str,
39
- esc_html($values['url']),
40
- esc_html($values['slug']),
41
  esc_html($values['name']),
42
- esc_html($values['param_forwarding']),
43
- esc_html($values['param_struct']),
44
- esc_html($values['redirect_type']),
45
  esc_html($values['description']),
46
  (int)isset($values['track_me']),
47
  (int)isset($values['nofollow']),
@@ -81,12 +81,12 @@ class PrliLink
81
  ' WHERE id=%d';
82
 
83
  $query = $wpdb->prepare( $query_str,
84
- isset($values['url'])?esc_html($values['url']):'',
85
- isset($values['slug'])?esc_html($values['slug']):'',
86
  isset($values['name'])?esc_html($values['name']):'',
87
- isset($values['param_forwarding'])?esc_html($values['param_forwarding']):'',
88
- isset($values['param_struct'])?esc_html($values['param_struct']):'',
89
- isset($values['redirect_type'])?esc_html($values['redirect_type']):'',
90
  isset($values['description'])?esc_html($values['description']):'',
91
  (int)isset($values['track_me']),
92
  (int)isset($values['nofollow']),
@@ -540,3 +540,4 @@ class PrliLink
540
  return "javascript:location.href='{$site_url}/index.php?action=prli_bookmarklet&k={$prli_options->bookmarklet_auth}&target_url='+escape(location.href);";
541
  }
542
  }
 
36
  'VALUES (%s,%s,%s,%s,%s,%s,%s,%d,%d,%d,NOW())';
37
 
38
  $query = $wpdb->prepare( $query_str,
39
+ $values['url'],
40
+ $values['slug'],
41
  esc_html($values['name']),
42
+ $values['param_forwarding'],
43
+ $values['param_struct'],
44
+ $values['redirect_type'],
45
  esc_html($values['description']),
46
  (int)isset($values['track_me']),
47
  (int)isset($values['nofollow']),
81
  ' WHERE id=%d';
82
 
83
  $query = $wpdb->prepare( $query_str,
84
+ isset($values['url'])?$values['url']:'',
85
+ isset($values['slug'])?$values['slug']:'',
86
  isset($values['name'])?esc_html($values['name']):'',
87
+ isset($values['param_forwarding'])?$values['param_forwarding']:'',
88
+ isset($values['param_struct'])?$values['param_struct']:'',
89
+ isset($values['redirect_type'])?$values['redirect_type']:'',
90
  isset($values['description'])?esc_html($values['description']):'',
91
  (int)isset($values['track_me']),
92
  (int)isset($values['nofollow']),
540
  return "javascript:location.href='{$site_url}/index.php?action=prli_bookmarklet&k={$prli_options->bookmarklet_auth}&target_url='+escape(location.href);";
541
  }
542
  }
543
+
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.6
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.7
7
  Author: Caseproof
8
  Author URI: http://caseproof.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: 3.9
6
  Tested up to: 4.2.2
7
- Stable tag: 1.6.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,6 +66,9 @@ http://blairwilliams.com/w7a
66
 
67
  == Changelog ==
68
 
 
 
 
69
  = 1.6.6 =
70
  * Two security fixes
71
 
@@ -109,6 +112,9 @@ http://blairwilliams.com/w7a
109
 
110
  == Upgrade Notice ==
111
 
 
 
 
112
  = 1.6.6 =
113
  * Two security fixes. Everyone should upgrade.
114
 
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
 
67
  == Changelog ==
68
 
69
+ = 1.6.7 =
70
+ * A fix to remove url encoding from target urls
71
+
72
  = 1.6.6 =
73
  * Two security fixes
74
 
112
 
113
  == Upgrade Notice ==
114
 
115
+ = 1.6.7 =
116
+ * A fix to remove url encoding from target urls. Everyone needs to upgrade asap.
117
+
118
  = 1.6.6 =
119
  * Two security fixes. Everyone should upgrade.
120