WooCommerce MailChimp - Version 2.4.9

Version Description

Download this release

Release Info

Developer anderly
Plugin Icon 128x128 WooCommerce MailChimp
Version 2.4.9
Comparing to
See all releases

Code changes from version 2.4.8 to 2.4.9

includes/class-ss-wc-mailchimp-api.php CHANGED
@@ -230,8 +230,10 @@ class SS_WC_MailChimp_API {
230
  */
231
  private function maybe_log( $resource, $method, $args, $response ) {
232
 
233
- if ( isset( $response['_links'] ) ) {
234
- unset( $response['_links'] );
 
 
235
  }
236
 
237
  do_action( 'sswcmc_log', "MailChimp API Call RESOURCE: $resource \n METHOD: $method \n BODY: " . print_r( $args, true ) . " \n RESPONSE: " . print_r( $response, true ) );
230
  */
231
  private function maybe_log( $resource, $method, $args, $response ) {
232
 
233
+ if ( ! is_wp_error( $response ) ) {
234
+ if ( isset( $response['_links'] ) ) {
235
+ unset( $response['_links'] );
236
+ }
237
  }
238
 
239
  do_action( 'sswcmc_log', "MailChimp API Call RESOURCE: $resource \n METHOD: $method \n BODY: " . print_r( $args, true ) . " \n RESPONSE: " . print_r( $response, true ) );
includes/class-ss-wc-mailchimp-plugin.php CHANGED
@@ -15,7 +15,7 @@ final class SS_WC_MailChimp_Plugin {
15
  *
16
  * @var string
17
  */
18
- private static $version = '2.4.8';
19
 
20
  /**
21
  * Plugin singleton instance
15
  *
16
  * @var string
17
  */
18
+ private static $version = '2.4.9';
19
 
20
  /**
21
  * Plugin singleton instance
readme.txt CHANGED
@@ -3,11 +3,11 @@ Contributors: saintsystems, anderly
3
  Donate link: http://ssms.us/hVdk
4
  Tags: woocommerce, mailchimp, ecommerce, email
5
  Requires at least: 4.7.0
6
- Tested up to: 5.8.1
7
- WC tested up to: 5.7.1
8
  Requires PHP: 5.6
9
- Stable tag: 2.4.8
10
- Version: 2.4.8
11
  License: GPLv3
12
 
13
  Simple and flexible Mailchimp integration for WooCommerce.
@@ -120,6 +120,9 @@ Also, if you enjoy using the software [we'd love it if you could give us a revie
120
 
121
  == Changelog ==
122
 
 
 
 
123
  #### 2.4.8 - Oct 12, 2021
124
  - Bug fix for tags not passing to Mailchimp.
125
 
3
  Donate link: http://ssms.us/hVdk
4
  Tags: woocommerce, mailchimp, ecommerce, email
5
  Requires at least: 4.7.0
6
+ Tested up to: 5.9.1
7
+ WC tested up to: 6.3.0
8
  Requires PHP: 5.6
9
+ Stable tag: 2.4.9
10
+ Version: 2.4.9
11
  License: GPLv3
12
 
13
  Simple and flexible Mailchimp integration for WooCommerce.
120
 
121
  == Changelog ==
122
 
123
+ #### 2.4.9 - Mar 10, 2022
124
+ - Bug fix for to check for WP_Error.
125
+
126
  #### 2.4.8 - Oct 12, 2021
127
  - Bug fix for tags not passing to Mailchimp.
128
 
woocommerce-mailchimp.php CHANGED
@@ -5,8 +5,8 @@
5
  * Description: WP WooCommerce Mailchimp provides simple and flexible Mailchimp integration for WooCommerce.
6
  * Author: Saint Systems
7
  * Author URI: https://www.saintsystems.com
8
- * Version: 2.4.8
9
- * WC tested up to: 5.7.1
10
  * Text Domain: woocommerce-mailchimp
11
  * Domain Path: languages
12
  *
5
  * Description: WP WooCommerce Mailchimp provides simple and flexible Mailchimp integration for WooCommerce.
6
  * Author: Saint Systems
7
  * Author URI: https://www.saintsystems.com
8
+ * Version: 2.4.9
9
+ * WC tested up to: 6.3.0
10
  * Text Domain: woocommerce-mailchimp
11
  * Domain Path: languages
12
  *