WP eCommerce - Version 3.8.8.5

Version Description

  • Fix: Order Closed status does not count in the sales log totals on dashboard widget.
  • Fix: PHP preg_replace warning.
Download this release

Release Info

Developer garyc40
Plugin Icon 128x128 WP eCommerce
Version 3.8.8.5
Comparing to
See all releases

Code changes from version 3.8.8.4 to 3.8.8.5

readme.txt CHANGED
@@ -4,13 +4,13 @@ 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.1
7
- Stable tag: 3.8.8.4
8
 
9
  WP e-Commerce is a free WordPress Shopping Cart Plugin that lets customers buy your products, services and digital downloads online.
10
 
11
  == Description ==
12
 
13
- We make setting up an ecommerce shop easy, and with over 1.8 Million downloads, we have unparalleled experience.
14
 
15
  Features:
16
 
@@ -156,6 +156,10 @@ After upgrading from earlier versions look for link "Update Store". This will up
156
 
157
 
158
  == Changelog ==
 
 
 
 
159
  = 3.8.8.4 =
160
  * Fix: Also bought product image doesn't display correctly.
161
  * Fix: Pagination fails when hierarchical category URL is enabled.
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.1
7
+ Stable tag: 3.8.8.5
8
 
9
  WP e-Commerce is a free WordPress Shopping Cart Plugin that lets customers buy your products, services and digital downloads online.
10
 
11
  == Description ==
12
 
13
+ We make setting up an ecommerce shop easy, and with over 1.9 Million downloads, we have unparalleled experience.
14
 
15
  Features:
16
 
156
 
157
 
158
  == Changelog ==
159
+ = 3.8.8.5 =
160
+ * Fix: Order Closed status does not count in the sales log totals on dashboard widget.
161
+ * Fix: PHP preg_replace warning.
162
+
163
  = 3.8.8.4 =
164
  * Fix: Also bought product image doesn't display correctly.
165
  * Fix: Pagination fails when hierarchical category URL is enabled.
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.4
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.5
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.4' );
30
- define( 'WPSC_MINOR_VERSION', '570698' );
31
- define( 'WPSC_PRESENTABLE_VERSION', '3.8.8.4' );
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.5' );
30
+ define( 'WPSC_MINOR_VERSION', '571548' );
31
+ define( 'WPSC_PRESENTABLE_VERSION', '3.8.8.5' );
32
 
33
  // Define Debug Variables for developers
34
  define( 'WPSC_DEBUG', false );
wpsc-core/wpsc-functions.php CHANGED
@@ -852,7 +852,7 @@ function wpsc_taxonomy_rewrite_rules( $rewrite_rules ) {
852
  if ( version_compare( get_bloginfo( 'version' ), '3.4', '>=' ) ) {
853
  $rebuilt_rewrite_rules = array_merge(
854
  array(
855
- '(' . $products_page . ')/([0-9]+)/$?' => 'index.php?pagename=$matches[1]&page=$matches[2]',
856
  ),
857
  $rebuilt_rewrite_rules
858
  );
852
  if ( version_compare( get_bloginfo( 'version' ), '3.4', '>=' ) ) {
853
  $rebuilt_rewrite_rules = array_merge(
854
  array(
855
+ '(' . $products_page . ')/([0-9]+)/?$' => 'index.php?pagename=$matches[1]&page=$matches[2]',
856
  ),
857
  $rebuilt_rewrite_rules
858
  );
wpsc-includes/processing.functions.php CHANGED
@@ -162,9 +162,9 @@ function admin_display_total_price($start_timestamp = '', $end_timestamp = '') {
162
  global $wpdb;
163
 
164
  if( ( $start_timestamp != '' ) && ( $end_timestamp != '' ) )
165
- $sql = $wpdb->prepare( "SELECT SUM(`totalprice`) FROM `".WPSC_TABLE_PURCHASE_LOGS."` WHERE `processed` IN (2,3,4) AND `date` BETWEEN %s AND %s", $start_timestamp, $end_timestamp );
166
  else
167
- $sql = "SELECT SUM(`totalprice`) FROM `".WPSC_TABLE_PURCHASE_LOGS."` WHERE `processed` IN (2,3,4) AND `date` != ''";
168
 
169
  $total = $wpdb->get_var($sql);
170
  return $total;
162
  global $wpdb;
163
 
164
  if( ( $start_timestamp != '' ) && ( $end_timestamp != '' ) )
165
+ $sql = $wpdb->prepare( "SELECT SUM(`totalprice`) FROM `".WPSC_TABLE_PURCHASE_LOGS."` WHERE `processed` IN (2,3,4,5) AND `date` BETWEEN %s AND %s", $start_timestamp, $end_timestamp );
166
  else
167
+ $sql = "SELECT SUM(`totalprice`) FROM `".WPSC_TABLE_PURCHASE_LOGS."` WHERE `processed` IN (2,3,4,5) AND `date` != ''";
168
 
169
  $total = $wpdb->get_var($sql);
170
  return $total;