WooCommerce MailChimp - Version 2.0.7

Version Description

Download this release

Release Info

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

Code changes from version 2.0.6 to 2.0.7

includes/class-ss-wc-mailchimp-plugin.php CHANGED
@@ -7,7 +7,7 @@ final class SS_WC_MailChimp_Plugin {
7
 
8
  private static $_instance;
9
 
10
- private static $version = '2.0.6';
11
 
12
  private static $text_domain = 'woocommerce-mailchimp';
13
 
7
 
8
  private static $_instance;
9
 
10
+ private static $version = '2.0.7';
11
 
12
  private static $text_domain = 'woocommerce-mailchimp';
13
 
includes/class-ss-wc-settings-mailchimp.php CHANGED
@@ -326,9 +326,9 @@ if ( ! class_exists( 'SS_WC_Settings_MailChimp' ) ) {
326
 
327
  $mailchimp_lists = $this->get_lists();
328
 
329
- if ( ! $this->has_api_key() || $mailchimp_lists === false ) {
330
- $settings[] = array( 'type' => 'sectionend', 'id' => 'general_options' );
331
- }
332
  // if ( !$this->has_api_key() ) {
333
  // $form_fields['api_key']['description'] = sprintf( '%s <strong>%s</strong> %s.<br/>',
334
  // __( 'Paste your API key above and click', 'woocommerce-mailchimp' ),
326
 
327
  $mailchimp_lists = $this->get_lists();
328
 
329
+ // if ( ! $this->has_api_key() || $mailchimp_lists === false ) {
330
+ // $settings[] = array( 'type' => 'sectionend', 'id' => 'general_options' );
331
+ // }
332
  // if ( !$this->has_api_key() ) {
333
  // $form_fields['api_key']['description'] = sprintf( '%s <strong>%s</strong> %s.<br/>',
334
  // __( 'Paste your API key above and click', 'woocommerce-mailchimp' ),
includes/migrations/class-ss-wc-migration-from-1.3.X-to-2.0.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- final class SS_WC_MailChimp_Migration_From_13X_To_20 extends SS_WC_MailChimp_Migration_Base {
4
 
5
  public function __construct( $current_version, $target_version ) {
6
  parent::__construct( $current_version, $target_version );
1
  <?php
2
 
3
+ final class SS_WC_MailChimp_Migration_From_13X_To_20 extends SS_WC_MailChimp_Migration {
4
 
5
  public function __construct( $current_version, $target_version ) {
6
  parent::__construct( $current_version, $target_version );
includes/migrations/class-ss-wc-migration.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- abstract class SS_WC_MailChimp_Migration_Base {
4
 
5
  protected $api;
6
 
@@ -11,13 +11,7 @@ abstract class SS_WC_MailChimp_Migration_Base {
11
  protected $current_version;
12
  protected $target_version;
13
 
14
- protected $setting_keys;
15
-
16
- protected $settings_key = 'woocommerce_mailchimp_settings';
17
-
18
- public function __construct( $current_version, $target_version ) {
19
-
20
- $this->settings_keys = array(
21
  'api_key',
22
  'enabled',
23
  'list',
@@ -30,6 +24,10 @@ abstract class SS_WC_MailChimp_Migration_Base {
30
  'opt_in_checkbox_display_location',
31
  );
32
 
 
 
 
 
33
  $this->settings = array();
34
 
35
  $this->current_version = $current_version;
1
  <?php
2
 
3
+ abstract class SS_WC_MailChimp_Migration {
4
 
5
  protected $api;
6
 
11
  protected $current_version;
12
  protected $target_version;
13
 
14
+ protected $setting_keys = array(
 
 
 
 
 
 
15
  'api_key',
16
  'enabled',
17
  'list',
24
  'opt_in_checkbox_display_location',
25
  );
26
 
27
+ protected $settings_key = 'woocommerce_mailchimp_settings';
28
+
29
+ public function __construct( $current_version, $target_version ) {
30
+
31
  $this->settings = array();
32
 
33
  $this->current_version = $current_version;
readme.txt CHANGED
@@ -1,9 +1,10 @@
1
  === WooCommerce MailChimp ===
2
  Contributors: saintsystems, anderly
 
3
  Tags: woocommerce, mailchimp
4
  Requires at least: 3.5.1
5
  Tested up to: 4.6.1
6
- Stable tag: 2.0.6
7
  License: GPLv3
8
 
9
  Simple and flexible MailChimp integration for WooCommerce.
@@ -97,9 +98,11 @@ Also, if you enjoy using the software [we'd love it if you could give us a revie
97
 
98
  == Changelog ==
99
 
100
- #### 2.0 - 2.0.6 - September 16, 2016
101
 
102
- **WARNING:** This release contains breaking changes to the plugins action hooks and filters. If you have custom code that hooks into the plugins action hooks and filters, please review the breaking changes below to know how to update your code appropriately. You must upgrade to version 2.X by December 31, 2016 because prior versions of the MailChimp API will stop working at that point.
 
 
103
 
104
  **Breaking Changes**
105
 
1
  === WooCommerce MailChimp ===
2
  Contributors: saintsystems, anderly
3
+ Donate link: http://ssms.us/hVdk
4
  Tags: woocommerce, mailchimp
5
  Requires at least: 3.5.1
6
  Tested up to: 4.6.1
7
+ Stable tag: 2.0.7
8
  License: GPLv3
9
 
10
  Simple and flexible MailChimp integration for WooCommerce.
98
 
99
  == Changelog ==
100
 
101
+ #### 2.0 - 2.0.7 - September 17, 2016
102
 
103
+ **WARNING:** This release contains breaking changes to the plugins action hooks and filters. If you have custom code that hooks into the plugins action hooks and filters, please review the breaking changes below to know how to update your code appropriately.
104
+
105
+ **NOTE:** You must upgrade to version 2.X by December 31, 2016 as prior versions of the MailChimp API will stop working at that point.
106
 
107
  **Breaking Changes**
108
 
woocommerce-mailchimp.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: WooCommerce MailChimp provides simple MailChimp integration for WooCommerce.
6
  * Author: Saint Systems
7
  * Author URI: https://www.saintsystems.com
8
- * Version: 2.0.6
9
  * Text Domain: woocommerce-mailchimp
10
  * Domain Path: languages
11
  *
5
  * Description: WooCommerce MailChimp provides simple MailChimp integration for WooCommerce.
6
  * Author: Saint Systems
7
  * Author URI: https://www.saintsystems.com
8
+ * Version: 2.0.7
9
  * Text Domain: woocommerce-mailchimp
10
  * Domain Path: languages
11
  *