WooCommerce MailChimp - Version 2.4.1

Version Description

Download this release

Release Info

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

Code changes from version 2.4.0 to 2.4.1

includes/class-ss-wc-mailchimp-handler.php CHANGED
@@ -422,6 +422,12 @@ if ( ! class_exists( 'SS_WC_MailChimp_Handler' ) ) {
422
  // Allow hooking into subscription options.
423
  $options = apply_filters( 'ss_wc_mailchimp_subscribe_options', $subscribe_options, $order_id );
424
 
 
 
 
 
 
 
425
  // Extract options into variables.
426
  extract( $options );
427
 
422
  // Allow hooking into subscription options.
423
  $options = apply_filters( 'ss_wc_mailchimp_subscribe_options', $subscribe_options, $order_id );
424
 
425
+ /**
426
+ * Allow overriding whether to subscribe the customer
427
+ * @since 2.4.1
428
+ */
429
+ $subscribe_customer = apply_filters( 'ss_wc_mailchimp_subscribe_customer', $subscribe_customer, $subscribe_options, $order_id );
430
+
431
  // Extract options into variables.
432
  extract( $options );
433
 
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.0';
19
 
20
  /**
21
  * Plugin singleton instance
15
  *
16
  * @var string
17
  */
18
+ private static $version = '2.4.1';
19
 
20
  /**
21
  * Plugin singleton instance
readme.txt CHANGED
@@ -6,7 +6,7 @@ Requires at least: 4.7.0
6
  Tested up to: 5.7.0
7
  WC tested up to: 5.1.0
8
  Requires PHP: 5.6
9
- Stable tag: 2.4.0
10
  License: GPLv3
11
 
12
  Simple and flexible Mailchimp integration for WooCommerce.
@@ -119,6 +119,9 @@ Also, if you enjoy using the software [we'd love it if you could give us a revie
119
 
120
  == Changelog ==
121
 
 
 
 
122
  #### 2.4.0 - March 24, 2021
123
  - Tested up to WordPress 5.7
124
  - Tested up to WooCommerce 5.1
6
  Tested up to: 5.7.0
7
  WC tested up to: 5.1.0
8
  Requires PHP: 5.6
9
+ Stable tag: 2.4.1
10
  License: GPLv3
11
 
12
  Simple and flexible Mailchimp integration for WooCommerce.
119
 
120
  == Changelog ==
121
 
122
+ #### 2.4.1 - March 27, 2021
123
+ - Added new `ss_wc_mailchimp_subscribe_customer` hook to allow easier override of whether or not to subscribe the customer.
124
+
125
  #### 2.4.0 - March 24, 2021
126
  - Tested up to WordPress 5.7
127
  - Tested up to WooCommerce 5.1
woocommerce-mailchimp.php CHANGED
@@ -5,7 +5,7 @@
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.0
9
  * WC tested up to: 5.1.0
10
  * Text Domain: woocommerce-mailchimp
11
  * Domain Path: languages
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.1
9
  * WC tested up to: 5.1.0
10
  * Text Domain: woocommerce-mailchimp
11
  * Domain Path: languages