Version Description
- Fixed PHP Fatal when PayPal Express Checkout has not fully initialized
Download this release
Release Info
Developer | woothemes |
Plugin | WooCommerce Services |
Version | 1.12.3 |
Comparing to | |
See all releases |
Code changes from version 1.12.2 to 1.12.3
- classes/class-wc-connect-paypal-ec.php +6 -1
- readme.txt +7 -1
- woocommerce-services.php +2 -2
classes/class-wc-connect-paypal-ec.php
CHANGED
@@ -38,11 +38,16 @@ if ( ! class_exists( 'WC_Connect_PayPal_EC' ) ) {
|
|
38 |
return;
|
39 |
}
|
40 |
|
|
|
|
|
|
|
|
|
|
|
41 |
$this->maybe_set_reroute_requests();
|
42 |
|
43 |
add_filter( 'woocommerce_paypal_express_checkout_settings', array( $this, 'adjust_form_fields' ) );
|
44 |
$this->initialize_settings();
|
45 |
-
$settings =
|
46 |
|
47 |
// Don't modify any PPEC plugin behavior if WCS request proxying is not enabled
|
48 |
if ( 'yes' !== $settings->reroute_requests ) {
|
38 |
return;
|
39 |
}
|
40 |
|
41 |
+
$ppec_plugin = wc_gateway_ppec();
|
42 |
+
if ( ! property_exists( $ppec_plugin, 'settings' ) || empty( $ppec_plugin->settings ) ) {
|
43 |
+
return;
|
44 |
+
}
|
45 |
+
|
46 |
$this->maybe_set_reroute_requests();
|
47 |
|
48 |
add_filter( 'woocommerce_paypal_express_checkout_settings', array( $this, 'adjust_form_fields' ) );
|
49 |
$this->initialize_settings();
|
50 |
+
$settings = $ppec_plugin->settings;
|
51 |
|
52 |
// Don't modify any PPEC plugin behavior if WCS request proxying is not enabled
|
53 |
if ( 'yes' !== $settings->reroute_requests ) {
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: automattic, woothemes, allendav, kellychoffman, jkudish, jeffstiel
|
|
3 |
Tags: canada-post, shipping, stamps, usps, woocommerce, taxes, payment, stripe
|
4 |
Requires at least: 4.6
|
5 |
Tested up to: 4.9.4
|
6 |
-
Stable tag: 1.12.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -90,9 +90,15 @@ The source code is freely available [in GitHub](https://github.com/Automattic/wo
|
|
90 |
|
91 |
== Changelog ==
|
92 |
|
|
|
|
|
|
|
93 |
= 1.12.2 =
|
94 |
* Fix some REST API calls being erroneously cached by certain hosting providers
|
95 |
|
|
|
|
|
|
|
96 |
= 1.12.0 =
|
97 |
* Add email receipts for purchased shipping labels
|
98 |
* Clean up Stripe account keys when deauthorized
|
3 |
Tags: canada-post, shipping, stamps, usps, woocommerce, taxes, payment, stripe
|
4 |
Requires at least: 4.6
|
5 |
Tested up to: 4.9.4
|
6 |
+
Stable tag: 1.12.3
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
90 |
|
91 |
== Changelog ==
|
92 |
|
93 |
+
= 1.12.3 =
|
94 |
+
* Fixed PHP Fatal when PayPal Express Checkout has not fully initialized
|
95 |
+
|
96 |
= 1.12.2 =
|
97 |
* Fix some REST API calls being erroneously cached by certain hosting providers
|
98 |
|
99 |
+
= 1.12.1 =
|
100 |
+
* Fix missing file in 1.12.0 plugin release
|
101 |
+
|
102 |
= 1.12.0 =
|
103 |
* Add email receipts for purchased shipping labels
|
104 |
* Clean up Stripe account keys when deauthorized
|
woocommerce-services.php
CHANGED
@@ -7,9 +7,9 @@
|
|
7 |
* Author URI: https://woocommerce.com/
|
8 |
* Text Domain: woocommerce-services
|
9 |
* Domain Path: /i18n/languages/
|
10 |
-
* Version: 1.12.
|
11 |
* WC requires at least: 3.0.0
|
12 |
-
* WC tested up to: 3.3.
|
13 |
*
|
14 |
* Copyright (c) 2017 Automattic
|
15 |
*
|
7 |
* Author URI: https://woocommerce.com/
|
8 |
* Text Domain: woocommerce-services
|
9 |
* Domain Path: /i18n/languages/
|
10 |
+
* Version: 1.12.3
|
11 |
* WC requires at least: 3.0.0
|
12 |
+
* WC tested up to: 3.3.4
|
13 |
*
|
14 |
* Copyright (c) 2017 Automattic
|
15 |
*
|