Skip to content

Commit

Permalink
version 2.13.1, reverts change related to URLs in 2.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
itthinx committed Oct 20, 2015
1 parent b4548a2 commit 194f0dd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions affiliates.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
* Plugin Name: Affiliates
* Plugin URI: http://www.itthinx.com/plugins/affiliates
* Description: The Affiliates plugin provides the right tools to maintain a partner referral program.
* Version: 2.13.0
* Version: 2.13.1
* Author: itthinx
* Author URI: http://www.itthinx.com
* Donate-Link: http://www.itthinx.com
* License: GPLv3
*/
if ( !defined( 'AFFILIATES_CORE_VERSION' ) ) {
define( 'AFFILIATES_CORE_VERSION', '2.13.0' );
define( 'AFFILIATES_CORE_VERSION', '2.13.1' );
define( 'AFFILIATES_PLUGIN_NAME', 'affiliates' );
define( 'AFFILIATES_FILE', __FILE__ );
define( 'AFFILIATES_PLUGIN_BASENAME', plugin_basename( AFFILIATES_FILE ) );
Expand Down
3 changes: 0 additions & 3 deletions lib/core/wp-init.php
Original file line number Diff line number Diff line change
Expand Up @@ -1974,9 +1974,6 @@ function affiliates_get_affiliate_url( $url, $affiliate_id ) {
$components['path'] = '/';
}
$components['query'] = $query;
if ( !empty( $components['query'] ) ) {
$components['path'] = rtrim( $components['path'], '/' );
}
}
return affiliates_compose_url( $components );
}
10 changes: 7 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: http://www.itthinx.com/plugins/affiliates
Tags: ads, AddToAny, AddThis, advertising, affiliate, affiliate marketing, affiliate plugin, affiliate tool, affiliates, contact form, contact form 7, downloads, e-commerce, Ecwid, Events Manager, Jigoshop, lead, link, marketing, money, partner, Pay per Click, PayPal, PPC, referral, referral links, referrer, sales, shopping cart, TheCartPress, track, transaction, WooCommerce, WP e-Commerce
Requires at least: 4.0.0
Tested up to: 4.3.1
Stable tag: 2.13.0
Stable tag: 2.13.1
License: GPLv3

The Affiliates system provides powerful tools to maintain an Affiliate Marketing Program.
Expand Down Expand Up @@ -340,6 +340,9 @@ See [Affiliates Screenshots](http://www.itthinx.com/plugins/affiliates/affiliate

== Changelog ==

= 2.13.1 =
* Reverted a change introduced in 2.13.0 related to trailing slashes.

= 2.13.0 =
* Fixed an issue where trailing slashes would be left before the query part of an affiliate URL.
* Add-ons section revised.
Expand Down Expand Up @@ -667,5 +670,6 @@ See [Affiliates Screenshots](http://www.itthinx.com/plugins/affiliates/affiliate

== Upgrade Notice ==

= 2.13.0 =
This release fixes an issue where trailing slashes would be left before the query part of an affiliate URL and has a revised section for recommended add-ons.
= 2.13.1 =
This release reverts a change introduced in 2.13.0 related to trailing slashes before the query part of an affiliate URL.
The change could affect valid URLs and has been removed in this version.

0 comments on commit 194f0dd

Please sign in to comment.