WP eCommerce - Version 3.15.1

Version Description

Download this release

Release Info

Developer JustinSainton
Plugin Icon 128x128 WP eCommerce
Version 3.15.1
Comparing to
See all releases

Code changes from version 3.15 to 3.15.1

package-lock.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "wp-e-commerce",
3
- "version": "3.15.0",
4
  "lockfileVersion": 1,
5
  "requires": true,
6
  "dependencies": {
1
  {
2
  "name": "wp-e-commerce",
3
+ "version": "3.15.1",
4
  "lockfileVersion": 1,
5
  "requires": true,
6
  "dependencies": {
package.json CHANGED
@@ -2,7 +2,7 @@
2
  "name": "wp-e-commerce",
3
  "title": "WP eCommerce",
4
  "description": "The most popular independent eCommerce platform for WordPress",
5
- "version": "3.15.0",
6
  "license": "GPLv2",
7
  "author": {
8
  "name": "WP-e-Commerce",
2
  "name": "wp-e-commerce",
3
  "title": "WP eCommerce",
4
  "description": "The most popular independent eCommerce platform for WordPress",
5
+ "version": "3.15.1",
6
  "license": "GPLv2",
7
  "author": {
8
  "name": "WP-e-Commerce",
readme.md CHANGED
@@ -17,7 +17,7 @@ If you're looking for general user support, please submit your support request o
17
  Development status
18
  -------------------------
19
 
20
- * The latest stable version is [3.15.0](http://wordpress.org/extend/plugins/wp-e-commerce).
21
  * Active development version: 4.0-dev (branch [master](https://github.com/wp-e-commerce/WP-e-Commerce))
22
  * [Roadmap for 4.0](https://github.com/wp-e-commerce/wp-e-commerce/wiki/Roadmap)
23
  * [4.0 tickets](https://github.com/wp-e-commerce/WP-e-Commerce/milestones/4.0)
17
  Development status
18
  -------------------------
19
 
20
+ * The latest stable version is [3.15.1](http://wordpress.org/plugins/wp-e-commerce).
21
  * Active development version: 4.0-dev (branch [master](https://github.com/wp-e-commerce/WP-e-Commerce))
22
  * [Roadmap for 4.0](https://github.com/wp-e-commerce/wp-e-commerce/wiki/Roadmap)
23
  * [4.0 tickets](https://github.com/wp-e-commerce/WP-e-Commerce/milestones/4.0)
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: e-commerce, digital downloads, wp-e-commerce, shop, cart, paypal, authoriz
5
  Requires at least: 5.0
6
  Tested up to: 5.5
7
  Requires PHP: 5.6
8
- Stable tag: 3.15.0
9
 
10
  WP eCommerce is a free, powerful plugin that empowers you to sell anything online, quickly and easily.
11
 
@@ -37,7 +37,12 @@ After upgrading from earlier versions look for link "Update Store". This will up
37
 
38
  == Changelog ==
39
 
40
- = 3.15.0 [2020-08-17] =
 
 
 
 
 
41
 
42
  * Fix: Continued improved integration with new WordPress block editor.
43
  * Fix: Improve compatibility with PHP 7.3+
5
  Requires at least: 5.0
6
  Tested up to: 5.5
7
  Requires PHP: 5.6
8
+ Stable tag: 3.15.1
9
 
10
  WP eCommerce is a free, powerful plugin that empowers you to sell anything online, quickly and easily.
11
 
37
 
38
  == Changelog ==
39
 
40
+ = 3.15.0 [2020-08-21] =
41
+
42
+ * Fix: Permissions error on new installations.
43
+ * Fix: Correct constant version.
44
+
45
+ = 3.15.0 [2020-08-21] =
46
 
47
  * Fix: Continued improved integration with new WordPress block editor.
48
  * Fix: Improve compatibility with PHP 7.3+
wp-shopping-cart.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WP eCommerce
4
  * Plugin URI: http://wpecommerce.org/
5
  * Description: A plugin that provides a WordPress Shopping Cart. See also: <a href="http://wpecommerce.org" target="_blank">WPeCommerce.org</a> | <a href="https://wordpress.org/support/plugin/wp-e-commerce/" target="_blank">Support Forum</a> | <a href="http://docs.wpecommerce.org/" target="_blank">Documentation</a>
6
- * Version: 3.15.0
7
  * Author: WP eCommerce
8
  * Author URI: http://wpecommerce.org/
9
  * Text Domain: wp-e-commerce
3
  * Plugin Name: WP eCommerce
4
  * Plugin URI: http://wpecommerce.org/
5
  * Description: A plugin that provides a WordPress Shopping Cart. See also: <a href="http://wpecommerce.org" target="_blank">WPeCommerce.org</a> | <a href="https://wordpress.org/support/plugin/wp-e-commerce/" target="_blank">Support Forum</a> | <a href="http://docs.wpecommerce.org/" target="_blank">Documentation</a>
6
+ * Version: 3.15.1
7
  * Author: WP eCommerce
8
  * Author URI: http://wpecommerce.org/
9
  * Text Domain: wp-e-commerce
wpsc-core/wpsc-constants.php CHANGED
@@ -55,7 +55,7 @@ function wpsc_core_constants() {
55
 
56
  // Define Plugin version
57
  if ( ! defined( 'WPSC_VERSION' ) ) {
58
- define( 'WPSC_VERSION' , '3.150' );
59
  }
60
 
61
  if ( ! defined( 'WPSC_MINOR_VERSION' ) ) {
@@ -63,7 +63,7 @@ function wpsc_core_constants() {
63
  }
64
 
65
  if ( ! defined( 'WPSC_PRESENTABLE_VERSION' ) ) {
66
- define( 'WPSC_PRESENTABLE_VERSION', '3.15.0' );
67
  }
68
 
69
  // Define a salt to use when we hash, WPSC_SALT may be defined for us in our config file, so check first
55
 
56
  // Define Plugin version
57
  if ( ! defined( 'WPSC_VERSION' ) ) {
58
+ define( 'WPSC_VERSION' , '3.15.1' );
59
  }
60
 
61
  if ( ! defined( 'WPSC_MINOR_VERSION' ) ) {
63
  }
64
 
65
  if ( ! defined( 'WPSC_PRESENTABLE_VERSION' ) ) {
66
+ define( 'WPSC_PRESENTABLE_VERSION', '3.15.1' );
67
  }
68
 
69
  // Define a salt to use when we hash, WPSC_SALT may be defined for us in our config file, so check first
wpsc-core/wpsc-includes.php CHANGED
@@ -77,9 +77,9 @@ include_once( WPSC_FILE_PATH . '/wpsc-widgets/admin_menu_widget.php' );
77
  require_once( WPSC_FILE_PATH . '/wpsc-includes/shipping.helper.php' );
78
 
79
  // Admin (Ensure this is loaded in)
80
- add_action( 'admin_init', function() {
81
  include_once( WPSC_FILE_PATH . '/wpsc-admin/admin.php' );
82
- } );
83
 
84
  // WP-CLI support
85
  if ( defined( 'WP_CLI' ) && WP_CLI ) {
77
  require_once( WPSC_FILE_PATH . '/wpsc-includes/shipping.helper.php' );
78
 
79
  // Admin (Ensure this is loaded in)
80
+ if ( is_admin() || did_action( 'admin_init' ) ) {
81
  include_once( WPSC_FILE_PATH . '/wpsc-admin/admin.php' );
82
+ }
83
 
84
  // WP-CLI support
85
  if ( defined( 'WP_CLI' ) && WP_CLI ) {