Version Description
- Fixed XSS Vulnerability
- Fixed an activation issue
- Fixed an issue with Pretty Link Export link for Pro users
Download this release
Release Info
Developer | supercleanse |
Plugin | Shortlinks by Pretty Links – Best WordPress Link Tracking Plugin |
Version | 1.5.4 |
Comparing to | |
See all releases |
Code changes from version 1.5.2 to 1.5.4
- classes/models/PrliUtils.php +3 -1
- i18n/pretty-link.pot +2 -2
- pretty-bar.php +2 -2
- pretty-link.php +2 -2
- readme.txt +10 -2
classes/models/PrliUtils.php
CHANGED
@@ -829,8 +829,10 @@ class PrliUtils
|
|
829 |
|
830 |
if($old_pro_db_version < 3) {
|
831 |
global $prli_keyword;
|
|
|
832 |
// Reset the whole keyword cache for good
|
833 |
-
|
|
|
834 |
}
|
835 |
|
836 |
/***** SAVE DB VERSION *****/
|
829 |
|
830 |
if($old_pro_db_version < 3) {
|
831 |
global $prli_keyword;
|
832 |
+
|
833 |
// Reset the whole keyword cache for good
|
834 |
+
if(isset($prli_keyword) and is_a($prli_keyword, 'PrliKeyword'))
|
835 |
+
$prli_keyword->deleteContentCache();
|
836 |
}
|
837 |
|
838 |
/***** SAVE DB VERSION *****/
|
i18n/pretty-link.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the Pretty Link Lite package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Pretty Link Lite 1.5.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/pretty-link\n"
|
7 |
-
"POT-Creation-Date: 2011-12-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
2 |
# This file is distributed under the same license as the Pretty Link Lite package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Pretty Link Lite 1.5.4\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/pretty-link\n"
|
7 |
+
"POT-Creation-Date: 2011-12-11 23:57:22+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
pretty-bar.php
CHANGED
@@ -8,7 +8,7 @@ else
|
|
8 |
require_once('prli-config.php');
|
9 |
require_once(PRLI_MODELS_PATH . '/models.inc.php');
|
10 |
|
11 |
-
$link = $prli_link->getOneFromSlug($_GET['slug']);
|
12 |
$bar_image = $prli_options->prettybar_image_url;
|
13 |
$bar_background_image = $prli_options->prettybar_background_image_url;
|
14 |
$bar_color = $prli_options->prettybar_color;
|
@@ -24,7 +24,7 @@ $bar_title_limit = (int)$prli_options->prettybar_title_limit;
|
|
24 |
$bar_desc_limit = (int)$prli_options->prettybar_desc_limit;
|
25 |
$bar_link_limit = (int)$prli_options->prettybar_link_limit;
|
26 |
|
27 |
-
$target_url = $_GET['url'];
|
28 |
|
29 |
$shortened_title = stripslashes(substr($prli_blogname,0,$bar_title_limit));
|
30 |
$shortened_desc = stripslashes(substr($prli_blogdescription,0,$bar_desc_limit));
|
8 |
require_once('prli-config.php');
|
9 |
require_once(PRLI_MODELS_PATH . '/models.inc.php');
|
10 |
|
11 |
+
$link = $prli_link->getOneFromSlug(esc_html($_GET['slug']));
|
12 |
$bar_image = $prli_options->prettybar_image_url;
|
13 |
$bar_background_image = $prli_options->prettybar_background_image_url;
|
14 |
$bar_color = $prli_options->prettybar_color;
|
24 |
$bar_desc_limit = (int)$prli_options->prettybar_desc_limit;
|
25 |
$bar_link_limit = (int)$prli_options->prettybar_link_limit;
|
26 |
|
27 |
+
$target_url = esc_html($_GET['url']);
|
28 |
|
29 |
$shortened_title = stripslashes(substr($prli_blogname,0,$bar_title_limit));
|
30 |
$shortened_desc = stripslashes(substr($prli_blogdescription,0,$bar_desc_limit));
|
pretty-link.php
CHANGED
@@ -3,10 +3,10 @@
|
|
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.5.
|
7 |
Author: Caseproof
|
8 |
Author URI: http://caseproof.com
|
9 |
-
Copyright: 2004-
|
10 |
|
11 |
GNU General Public License, Free Software Foundation <http://creativecommons.org/licenses/GPL/2.0/>
|
12 |
This program is free software; you can redistribute it and/or modify
|
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.5.4
|
7 |
Author: Caseproof
|
8 |
Author URI: http://caseproof.com
|
9 |
+
Copyright: 2004-2012, Caseproof, LLC
|
10 |
|
11 |
GNU General Public License, Free Software Foundation <http://creativecommons.org/licenses/GPL/2.0/>
|
12 |
This program is free software; you can redistribute it and/or modify
|
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.0
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 1.5.
|
8 |
|
9 |
Shrink, track and share any URL on the Internet from your WordPress website. Create short links suitable for Twitter using your own domain name!
|
10 |
|
@@ -67,6 +67,11 @@ http://blairwilliams.com/w7a
|
|
67 |
|
68 |
== Changelog ==
|
69 |
|
|
|
|
|
|
|
|
|
|
|
70 |
= 1.5.2 =
|
71 |
* Critical performance fix
|
72 |
* WP_Error on dashboard fix
|
@@ -311,6 +316,9 @@ http://blairwilliams.com/w7a
|
|
311 |
|
312 |
== Upgrade Notice ==
|
313 |
|
|
|
|
|
|
|
314 |
= 1.5.2 =
|
315 |
* CRITICAL UPGRADE ... this release contains several critical performance fixes
|
316 |
|
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.0
|
6 |
+
Tested up to: 3.3
|
7 |
+
Stable tag: 1.5.4
|
8 |
|
9 |
Shrink, track and share any URL on the Internet from your WordPress website. Create short links suitable for Twitter using your own domain name!
|
10 |
|
67 |
|
68 |
== Changelog ==
|
69 |
|
70 |
+
= 1.5.4 =
|
71 |
+
* Fixed XSS Vulnerability
|
72 |
+
* Fixed an activation issue
|
73 |
+
* Fixed an issue with Pretty Link Export link for Pro users
|
74 |
+
|
75 |
= 1.5.2 =
|
76 |
* Critical performance fix
|
77 |
* WP_Error on dashboard fix
|
316 |
|
317 |
== Upgrade Notice ==
|
318 |
|
319 |
+
= 1.5.4 =
|
320 |
+
* Everyone should upgrade to this new release as it fixes an XSS vulnerability
|
321 |
+
|
322 |
= 1.5.2 =
|
323 |
* CRITICAL UPGRADE ... this release contains several critical performance fixes
|
324 |
|