Amazon Associates Link Builder - Version 1.9.2

Version Description

  • Fix : Clicks not appearing for v1.9.1.
Download this release

Release Info

Developer amazonlinkbuilder
Plugin Icon 128x128 Amazon Associates Link Builder
Version 1.9.2
Comparing to
See all releases

Code changes from version 1.9.1 to 1.9.2

amazon-associates-link-builder.php CHANGED
@@ -8,7 +8,7 @@
8
  /*
9
  Plugin Name: Amazon Associates Link Builder
10
  Description: Amazon Associates Link Builder is the official free Amazon Associates Program plugin for WordPress. The plugin enables you to search for products in the Amazon catalog, access real-time price and availability information, and easily create links in your posts to products on Amazon.com. You will be able to generate text links, create custom ad units, or take advantage of out-of-the-box widgets that we’ve designed and included with the plugin.
11
- Version: 1.9.1
12
  Author: Amazon Associates Program
13
  Author URI: https://affiliate-program.amazon.com/
14
  License: GPLv2
8
  /*
9
  Plugin Name: Amazon Associates Link Builder
10
  Description: Amazon Associates Link Builder is the official free Amazon Associates Program plugin for WordPress. The plugin enables you to search for products in the Amazon catalog, access real-time price and availability information, and easily create links in your posts to products on Amazon.com. You will be able to generate text links, create custom ad units, or take advantage of out-of-the-box widgets that we’ve designed and included with the plugin.
11
+ Version: 1.9.2
12
  Author: Amazon Associates Program
13
  Author URI: https://affiliate-program.amazon.com/
14
  License: GPLv2
constants/plugin_constants.php CHANGED
@@ -23,7 +23,7 @@ namespace AmazonAssociatesLinkBuilder\constants;
23
  */
24
 
25
  class Plugin_Constants {
26
- const PLUGIN_CURRENT_VERSION = '1.9.1';
27
  //Version no. with multi locale settings page
28
  const MULTI_LOCALE_SETTINGS_PLUGIN_VERSION = '1.4.12';
29
  const WORDPRESS_REQUEST_TIMEOUT_IN_MS = 40000;
23
  */
24
 
25
  class Plugin_Constants {
26
+ const PLUGIN_CURRENT_VERSION = '1.9.2';
27
  //Version no. with multi locale settings page
28
  const MULTI_LOCALE_SETTINGS_PLUGIN_VERSION = '1.4.12';
29
  const WORDPRESS_REQUEST_TIMEOUT_IN_MS = 40000;
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: amazonlinkbuilder
3
  Tags: Amazon, Affiliate, Associates, Amazon Associates, Amazon Associate, Product Advertising API, Amazon API, Amazon Link, Amazon Ad, Amazon Affiliate, eCommerce
4
  Requires at least: 3.0.1
5
  Tested up to: 5.0.3
6
- Stable tag: 1.9.1
7
  Requires PHP: 5.4.0
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -124,6 +124,9 @@ You can see your earnings and other reports from the respective country Associat
124
 
125
  == Changelog ==
126
 
 
 
 
127
  = 1.9.1 - February 06, 2019 =
128
  * Fix : v1.9.0 not running for few associates.
129
 
@@ -260,6 +263,9 @@ You can see your earnings and other reports from the respective country Associat
260
 
261
  == Upgrade Notice ==
262
 
 
 
 
263
  = 1.9.1 =
264
  * Fixed issues in v1.9.0 that was not compatible with PHP version 5.5
265
 
3
  Tags: Amazon, Affiliate, Associates, Amazon Associates, Amazon Associate, Product Advertising API, Amazon API, Amazon Link, Amazon Ad, Amazon Affiliate, eCommerce
4
  Requires at least: 3.0.1
5
  Tested up to: 5.0.3
6
+ Stable tag: 1.9.2
7
  Requires PHP: 5.4.0
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
124
 
125
  == Changelog ==
126
 
127
+ = 1.9.2 - February 08, 2019 =
128
+ * Fix : Clicks not appearing for v1.9.1.
129
+
130
  = 1.9.1 - February 06, 2019 =
131
  * Fix : v1.9.0 not running for few associates.
132
 
263
 
264
  == Upgrade Notice ==
265
 
266
+ = 1.9.2 =
267
+ * Fix : Clicks not appearing for v1.9.1.
268
+
269
  = 1.9.1 =
270
  * Fixed issues in v1.9.0 that was not compatible with PHP version 5.5
271
 
rendering/xml_manipulator.php CHANGED
@@ -199,7 +199,7 @@ class Xml_Manipulator {
199
  $response = preg_replace( "/linkCode(%3D|=)\w{1,3}/", "linkCode$1" . $link_code, $response );
200
 
201
  //replace store id
202
- return preg_replace( "((tag=)[^&]+(&))", "$1" . $store_id . "$3", $response );
203
  }
204
 
205
  /**
199
  $response = preg_replace( "/linkCode(%3D|=)\w{1,3}/", "linkCode$1" . $link_code, $response );
200
 
201
  //replace store id
202
+ return preg_replace( "((tag=)[^&]+(&))", "$1" . $store_id . "$2", $response );
203
  }
204
 
205
  /**
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit4953f8685b3e2868b7a2d8d46bda633a::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit8921d01ddb388c8b5331e3b492ab5f2c::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit4953f8685b3e2868b7a2d8d46bda633a
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit4953f8685b3e2868b7a2d8d46bda633a
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit4953f8685b3e2868b7a2d8d46bda633a', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit4953f8685b3e2868b7a2d8d46bda633a', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInit4953f8685b3e2868b7a2d8d46bda633a::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit8921d01ddb388c8b5331e3b492ab5f2c
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit8921d01ddb388c8b5331e3b492ab5f2c', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit8921d01ddb388c8b5331e3b492ab5f2c', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit8921d01ddb388c8b5331e3b492ab5f2c::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit4953f8685b3e2868b7a2d8d46bda633a
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'M' =>
@@ -64,10 +64,10 @@ class ComposerStaticInit4953f8685b3e2868b7a2d8d46bda633a
64
  public static function getInitializer(ClassLoader $loader)
65
  {
66
  return \Closure::bind(function () use ($loader) {
67
- $loader->prefixLengthsPsr4 = ComposerStaticInit4953f8685b3e2868b7a2d8d46bda633a::$prefixLengthsPsr4;
68
- $loader->prefixDirsPsr4 = ComposerStaticInit4953f8685b3e2868b7a2d8d46bda633a::$prefixDirsPsr4;
69
- $loader->prefixesPsr0 = ComposerStaticInit4953f8685b3e2868b7a2d8d46bda633a::$prefixesPsr0;
70
- $loader->classMap = ComposerStaticInit4953f8685b3e2868b7a2d8d46bda633a::$classMap;
71
 
72
  }, null, ClassLoader::class);
73
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit8921d01ddb388c8b5331e3b492ab5f2c
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'M' =>
64
  public static function getInitializer(ClassLoader $loader)
65
  {
66
  return \Closure::bind(function () use ($loader) {
67
+ $loader->prefixLengthsPsr4 = ComposerStaticInit8921d01ddb388c8b5331e3b492ab5f2c::$prefixLengthsPsr4;
68
+ $loader->prefixDirsPsr4 = ComposerStaticInit8921d01ddb388c8b5331e3b492ab5f2c::$prefixDirsPsr4;
69
+ $loader->prefixesPsr0 = ComposerStaticInit8921d01ddb388c8b5331e3b492ab5f2c::$prefixesPsr0;
70
+ $loader->classMap = ComposerStaticInit8921d01ddb388c8b5331e3b492ab5f2c::$classMap;
71
 
72
  }, null, ClassLoader::class);
73
  }