Version Description
- Fix: Incompatibility between WPEC products page pagination and WordPress 3.4.
Download this release
Release Info
Developer | garyc40 |
Plugin | WP eCommerce |
Version | 3.8.8.3 |
Comparing to | |
See all releases |
Code changes from version 3.8.8.2 to 3.8.8.3
- readme.txt +5 -2
- wp-shopping-cart.php +1 -1
- wpsc-core/wpsc-constants.php +3 -3
- wpsc-core/wpsc-functions.php +8 -1
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: mufasa, mychelle, garyc40, justinsainton
|
|
3 |
Donate link: http://getshopped.org
|
4 |
Tags: e-commerce, wp-e-commerce, shop, cart, paypal, authorize, stock control, ecommerce, shipping, tax
|
5 |
Requires at least: 3.1
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 3.8.8.
|
8 |
|
9 |
WP e-Commerce is a free WordPress Shopping Cart Plugin that lets customers buy your products, services and digital downloads online.
|
10 |
|
@@ -156,6 +156,9 @@ After upgrading from earlier versions look for link "Update Store". This will up
|
|
156 |
|
157 |
|
158 |
== Changelog ==
|
|
|
|
|
|
|
159 |
= 3.8.8.2 =
|
160 |
* Change: CSV sales export now puts the item quanity in a separate column from the product title.
|
161 |
* Fix: Core checkout fields cannot be restored if they were deleted before upgrading to 3.8.8.
|
3 |
Donate link: http://getshopped.org
|
4 |
Tags: e-commerce, wp-e-commerce, shop, cart, paypal, authorize, stock control, ecommerce, shipping, tax
|
5 |
Requires at least: 3.1
|
6 |
+
Tested up to: 3.4
|
7 |
+
Stable tag: 3.8.8.3
|
8 |
|
9 |
WP e-Commerce is a free WordPress Shopping Cart Plugin that lets customers buy your products, services and digital downloads online.
|
10 |
|
156 |
|
157 |
|
158 |
== Changelog ==
|
159 |
+
= 3.8.8.3 =
|
160 |
+
* Fix: Incompatibility between WPEC products page pagination and WordPress 3.4.
|
161 |
+
|
162 |
= 3.8.8.2 =
|
163 |
* Change: CSV sales export now puts the item quanity in a separate column from the product title.
|
164 |
* Fix: Core checkout fields cannot be restored if they were deleted before upgrading to 3.8.8.
|
wp-shopping-cart.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: WP e-Commerce
|
4 |
* Plugin URI: http://getshopped.org/
|
5 |
* Description: A plugin that provides a WordPress Shopping Cart. See also: <a href="http://getshopped.org" target="_blank">GetShopped.org</a> | <a href="http://getshopped.org/forums/" target="_blank">Support Forum</a> | <a href="http://docs.getshopped.org/" target="_blank">Documentation</a>
|
6 |
-
* Version: 3.8.8.
|
7 |
* Author: Instinct Entertainment
|
8 |
* Author URI: http://getshopped.org/
|
9 |
**/
|
3 |
* Plugin Name: WP e-Commerce
|
4 |
* Plugin URI: http://getshopped.org/
|
5 |
* Description: A plugin that provides a WordPress Shopping Cart. See also: <a href="http://getshopped.org" target="_blank">GetShopped.org</a> | <a href="http://getshopped.org/forums/" target="_blank">Support Forum</a> | <a href="http://docs.getshopped.org/" target="_blank">Documentation</a>
|
6 |
+
* Version: 3.8.8.3
|
7 |
* Author: Instinct Entertainment
|
8 |
* Author URI: http://getshopped.org/
|
9 |
**/
|
wpsc-core/wpsc-constants.php
CHANGED
@@ -26,9 +26,9 @@ function wpsc_core_constants() {
|
|
26 |
if(!defined('WPSC_URL'))
|
27 |
define( 'WPSC_URL', plugins_url( '', __FILE__ ) );
|
28 |
// Define Plugin version
|
29 |
-
define( 'WPSC_VERSION', '3.8.8.
|
30 |
-
define( 'WPSC_MINOR_VERSION', '
|
31 |
-
define( 'WPSC_PRESENTABLE_VERSION', '3.8.8.
|
32 |
|
33 |
// Define Debug Variables for developers
|
34 |
define( 'WPSC_DEBUG', false );
|
26 |
if(!defined('WPSC_URL'))
|
27 |
define( 'WPSC_URL', plugins_url( '', __FILE__ ) );
|
28 |
// Define Plugin version
|
29 |
+
define( 'WPSC_VERSION', '3.8.8.3' );
|
30 |
+
define( 'WPSC_MINOR_VERSION', '560253' );
|
31 |
+
define( 'WPSC_PRESENTABLE_VERSION', '3.8.8.3' );
|
32 |
|
33 |
// Define Debug Variables for developers
|
34 |
define( 'WPSC_DEBUG', false );
|
wpsc-core/wpsc-functions.php
CHANGED
@@ -825,7 +825,6 @@ function wpsc_taxonomy_rewrite_rules( $rewrite_rules ) {
|
|
825 |
$new_rewrite_rules[$products_page . '/(.+?)/([^/]+)/comment-page-([0-9]{1,})/?$'] = 'index.php?post_type=wpsc-product&products=$matches[1]&wpsc_item=$matches[2]&cpage=$matches[3]';
|
826 |
$new_rewrite_rules[$products_page . '/(.+?)/([^/]+)?$'] = 'index.php?post_type=wpsc-product&products=$matches[1]&wpsc_item=$matches[2]';
|
827 |
|
828 |
-
|
829 |
$last_target_rule = array_pop( $target_rule_set );
|
830 |
|
831 |
$rebuilt_rewrite_rules = array( );
|
@@ -836,6 +835,14 @@ function wpsc_taxonomy_rewrite_rules( $rewrite_rules ) {
|
|
836 |
$rebuilt_rewrite_rules[$rewrite_key] = $rewrite_query;
|
837 |
}
|
838 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
839 |
return $rebuilt_rewrite_rules;
|
840 |
}
|
841 |
|
825 |
$new_rewrite_rules[$products_page . '/(.+?)/([^/]+)/comment-page-([0-9]{1,})/?$'] = 'index.php?post_type=wpsc-product&products=$matches[1]&wpsc_item=$matches[2]&cpage=$matches[3]';
|
826 |
$new_rewrite_rules[$products_page . '/(.+?)/([^/]+)?$'] = 'index.php?post_type=wpsc-product&products=$matches[1]&wpsc_item=$matches[2]';
|
827 |
|
|
|
828 |
$last_target_rule = array_pop( $target_rule_set );
|
829 |
|
830 |
$rebuilt_rewrite_rules = array( );
|
835 |
$rebuilt_rewrite_rules[$rewrite_key] = $rewrite_query;
|
836 |
}
|
837 |
|
838 |
+
// fix pagination in WordPress 3.4
|
839 |
+
if ( version_compare( get_bloginfo( 'version' ), '3.4', '>=' ) ) {
|
840 |
+
$rebuilt_rewrite_rules = array_merge(
|
841 |
+
array( '(' . $products_page . ')/([0-9]+)/?' => 'index.php?pagename=$matches[1]&page=$matches[2]' ),
|
842 |
+
$rebuilt_rewrite_rules
|
843 |
+
);
|
844 |
+
}
|
845 |
+
|
846 |
return $rebuilt_rewrite_rules;
|
847 |
}
|
848 |
|