Version Description
- Fix: PHP Warning for 'wpsc_load_settings_page' callback.
- Fix: PHP Warning in wpsc-transaction_results_functions.php.
- Fix: get_current_screen() is not available in WP 3.0.
Download this release
Release Info
Developer | garyc40 |
Plugin | WP eCommerce |
Version | 3.8.7.6.1 |
Comparing to | |
See all releases |
Code changes from version 3.8.7.6 to 3.8.7.6.1
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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.0
|
6 |
Tested up to: 3.3.1
|
7 |
-
Stable tag: 3.8.7.6
|
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,11 @@ After upgrading from earlier versions look for link "Update Store". This will up
|
|
156 |
|
157 |
|
158 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
159 |
= 3.8.7.6 =
|
160 |
* New: Default hook to filter sessionid for previously selected payment gateways.
|
161 |
* Change: Stock notification emails are now sent to "purchase log email address" rather than admin address.
|
4 |
Tags: e-commerce, wp-e-commerce, shop, cart, paypal, authorize, stock control, ecommerce, shipping, tax
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.3.1
|
7 |
+
Stable tag: 3.8.7.6.1
|
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.7.6.1 =
|
160 |
+
* Fix: PHP Warning for 'wpsc_load_settings_page' callback.
|
161 |
+
* Fix: PHP Warning in wpsc-transaction_results_functions.php.
|
162 |
+
* Fix: get_current_screen() is not available in WP 3.0.
|
163 |
+
|
164 |
= 3.8.7.6 =
|
165 |
* New: Default hook to filter sessionid for previously selected payment gateways.
|
166 |
* Change: Stock notification emails are now sent to "purchase log email address" rather than admin address.
|
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.7.6
|
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.7.6.1
|
7 |
* Author: Instinct Entertainment
|
8 |
* Author URI: http://getshopped.org/
|
9 |
**/
|
wpsc-admin/admin.php
CHANGED
@@ -200,8 +200,6 @@ function wpsc_admin_pages() {
|
|
200 |
update_option( 'wpsc_trackingid_message', __( "Track & Trace means you may track the progress of your parcel with our online parcel tracker, just login to our website and enter the following Tracking ID to view the status of your order.\n\nTracking ID: %trackid%\n", 'wpsc' ) );
|
201 |
}
|
202 |
|
203 |
-
add_action( 'load-' . $edit_options_page, 'wpsc_load_settings_page', 1 );
|
204 |
-
|
205 |
// Help tabs
|
206 |
add_action( 'load-' . $edit_options_page , 'wpsc_add_help_tabs' );
|
207 |
add_action( 'load-' . $purchase_log_page, 'wpsc_add_help_tabs' );
|
@@ -219,6 +217,7 @@ function wpsc_admin_pages() {
|
|
219 |
* @since 3.8.8
|
220 |
*/
|
221 |
function wpsc_add_help_tabs() {
|
|
|
222 |
$tabs = array(
|
223 |
// Store Settings Page
|
224 |
'settings_page_wpsc-settings' => array(
|
@@ -288,7 +287,7 @@ function wpsc_add_help_tabs() {
|
|
288 |
),
|
289 |
);
|
290 |
|
291 |
-
$screen =
|
292 |
if ( array_key_exists( $screen->id, $tabs ) ) {
|
293 |
$tab = $tabs[$screen->id];
|
294 |
$content = '<p><strong>' . __( 'For More Information', 'wpsc' ) . '</strong></p>';
|
200 |
update_option( 'wpsc_trackingid_message', __( "Track & Trace means you may track the progress of your parcel with our online parcel tracker, just login to our website and enter the following Tracking ID to view the status of your order.\n\nTracking ID: %trackid%\n", 'wpsc' ) );
|
201 |
}
|
202 |
|
|
|
|
|
203 |
// Help tabs
|
204 |
add_action( 'load-' . $edit_options_page , 'wpsc_add_help_tabs' );
|
205 |
add_action( 'load-' . $purchase_log_page, 'wpsc_add_help_tabs' );
|
217 |
* @since 3.8.8
|
218 |
*/
|
219 |
function wpsc_add_help_tabs() {
|
220 |
+
global $current_screen;
|
221 |
$tabs = array(
|
222 |
// Store Settings Page
|
223 |
'settings_page_wpsc-settings' => array(
|
287 |
),
|
288 |
);
|
289 |
|
290 |
+
$screen = $current_screen;
|
291 |
if ( array_key_exists( $screen->id, $tabs ) ) {
|
292 |
$tab = $tabs[$screen->id];
|
293 |
$content = '<p><strong>' . __( 'For More Information', 'wpsc' ) . '</strong></p>';
|
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.7.6' );
|
30 |
-
define( 'WPSC_MINOR_VERSION', '
|
31 |
-
define( 'WPSC_PRESENTABLE_VERSION', '3.8.7.6' );
|
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.7.6.1' );
|
30 |
+
define( 'WPSC_MINOR_VERSION', '494473' );
|
31 |
+
define( 'WPSC_PRESENTABLE_VERSION', '3.8.7.6.1' );
|
32 |
|
33 |
// Define Debug Variables for developers
|
34 |
define( 'WPSC_DEBUG', false );
|
wpsc-theme/functions/wpsc-transaction_results_functions.php
CHANGED
@@ -86,7 +86,7 @@ function wpsc_transaction_theme() {
|
|
86 |
break;
|
87 |
//default filter for other payment gateways to use
|
88 |
default:
|
89 |
-
$sessionid = apply_filters('wpsc_previous_selected_gateway_' . $_SESSION['wpsc_previous_selected_gateway']);
|
90 |
break;
|
91 |
}
|
92 |
}
|
86 |
break;
|
87 |
//default filter for other payment gateways to use
|
88 |
default:
|
89 |
+
$sessionid = apply_filters('wpsc_previous_selected_gateway_' . $_SESSION['wpsc_previous_selected_gateway'], '');
|
90 |
break;
|
91 |
}
|
92 |
}
|