ThirstyAffiliates Affiliate Link Manager - Version 3.2.3

Version Description

  • Bug Fix: Uncloaker module sometimes stripping away query strings
  • Bug Fix: Notice: Undefined variable error
Download this release

Release Info

Developer jkohlbach
Plugin Icon 128x128 ThirstyAffiliates Affiliate Link Manager
Version 3.2.3
Comparing to
See all releases

Code changes from version 3.2.2 to 3.2.3

Helpers/Plugin_Constants.php CHANGED
@@ -27,7 +27,7 @@ class Plugin_Constants {
27
  // Plugin configuration constants
28
  const TOKEN = 'ta';
29
  const INSTALLED_VERSION = 'ta_installed_version';
30
- const VERSION = '3.2.2';
31
  const TEXT_DOMAIN = 'thirstyaffiliates';
32
  const THEME_TEMPLATE_PATH = 'thirstyaffiliates';
33
  const META_DATA_PREFIX = '_ta_';
27
  // Plugin configuration constants
28
  const TOKEN = 'ta';
29
  const INSTALLED_VERSION = 'ta_installed_version';
30
+ const VERSION = '3.2.3';
31
  const TEXT_DOMAIN = 'thirstyaffiliates';
32
  const THEME_TEMPLATE_PATH = 'thirstyaffiliates';
33
  const META_DATA_PREFIX = '_ta_';
Models/Shortcodes.php CHANGED
@@ -191,7 +191,9 @@ class Shortcodes implements Model_Interface {
191
 
192
  // get the link URL
193
  $link_attributes[ 'href' ] = ( $uncloak_link ) ? apply_filters( 'ta_uncloak_link_url' , $thirstylink->get_prop( 'destination_url' ) , $thirstylink ) : $thirstylink->get_prop( 'permalink' );
194
- $link_attributes[ 'href' ] = $this->clean_url( $link_attributes[ 'href' ] );
 
 
195
 
196
  // get link text content default if no value is set
197
  if ( empty( $content ) && $atts[ 'linktext' ] )
@@ -266,7 +268,8 @@ class Shortcodes implements Model_Interface {
266
  extract( $parse );
267
 
268
  // rebuild url excluding parameters.
269
- $url = $scheme . '://' . $host . $path;
 
270
 
271
  return esc_url( $url );
272
  }
191
 
192
  // get the link URL
193
  $link_attributes[ 'href' ] = ( $uncloak_link ) ? apply_filters( 'ta_uncloak_link_url' , $thirstylink->get_prop( 'destination_url' ) , $thirstylink ) : $thirstylink->get_prop( 'permalink' );
194
+
195
+ if ( ! $uncloak_link )
196
+ $link_attributes[ 'href' ] = $this->clean_url( $link_attributes[ 'href' ] );
197
 
198
  // get link text content default if no value is set
199
  if ( empty( $content ) && $atts[ 'linktext' ] )
268
  extract( $parse );
269
 
270
  // rebuild url excluding parameters.
271
+ $url = $scheme . '://' . $host;
272
+ $url .= isset( $path ) ? $path : '';
273
 
274
  return esc_url( $url );
275
  }
languages/thirstyaffiliates.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: ThirstyAffiliates\n"
5
- "POT-Creation-Date: 2018-02-07 07:39+0800\n"
6
  "PO-Revision-Date: 2016-04-29 07:38+0800\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Rymera Web Co <support@thirstyaffiliates.com>\n"
@@ -887,7 +887,7 @@ msgstr ""
887
  msgid "Invalid global settings string"
888
  msgstr ""
889
 
890
- #: Models/Shortcodes.php:248
891
  msgid "SHORTCODE ERROR: ThirstyAffiliates did not detect a valid link id, please check your short code!"
892
  msgstr ""
893
 
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: ThirstyAffiliates\n"
5
+ "POT-Creation-Date: 2018-02-07 10:48+0800\n"
6
  "PO-Revision-Date: 2016-04-29 07:38+0800\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Rymera Web Co <support@thirstyaffiliates.com>\n"
887
  msgid "Invalid global settings string"
888
  msgstr ""
889
 
890
+ #: Models/Shortcodes.php:250
891
  msgid "SHORTCODE ERROR: ThirstyAffiliates did not detect a valid link id, please check your short code!"
892
  msgstr ""
893
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: affiliate, link, affiliate link management, link cloaker, link redirect, s
5
  Requires at least: 3.4
6
  Requires PHP: 5.6
7
  Tested up to: 4.9.4
8
- Stable tag: 3.2.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -159,6 +159,10 @@ See our [Knowledge Base](https://thirstyaffiliates.com/knowledge-base/?utm_sourc
159
 
160
  == Changelog ==
161
 
 
 
 
 
162
  = 3.2.2 =
163
  * Improvement: Allow Force no-cache headers on 301 redirects
164
  * Improvement: Minor codebase improvements
5
  Requires at least: 3.4
6
  Requires PHP: 5.6
7
  Tested up to: 4.9.4
8
+ Stable tag: 3.2.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
159
 
160
  == Changelog ==
161
 
162
+ = 3.2.3 =
163
+ * Bug Fix: Uncloaker module sometimes stripping away query strings
164
+ * Bug Fix: Notice: Undefined variable error
165
+
166
  = 3.2.2 =
167
  * Improvement: Allow Force no-cache headers on 301 redirects
168
  * Improvement: Minor codebase improvements
thirstyaffiliates.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: ThirstyAffiliates
4
  * Plugin URI: http://thirstyaffiliates.com/
5
  * Description: ThirstyAffiliates is a revolution in affiliate link management. Collect, collate and store your affiliate links for use in your posts and pages.
6
- * Version: 3.2.2
7
  * Author: Rymera Web Co
8
  * Author URI: https://rymera.com.au/
9
  * Requires at least: 4.4.2
3
  * Plugin Name: ThirstyAffiliates
4
  * Plugin URI: http://thirstyaffiliates.com/
5
  * Description: ThirstyAffiliates is a revolution in affiliate link management. Collect, collate and store your affiliate links for use in your posts and pages.
6
+ * Version: 3.2.3
7
  * Author: Rymera Web Co
8
  * Author URI: https://rymera.com.au/
9
  * Requires at least: 4.4.2