Version Description
Download this release
Release Info
Developer | anderly |
Plugin | WooCommerce MailChimp |
Version | 2.0.6 |
Comparing to | |
See all releases |
Code changes from version 2.0.5 to 2.0.6
includes/class-ss-wc-mailchimp-handler.php
CHANGED
@@ -437,7 +437,9 @@ if ( ! class_exists( 'SS_WC_MailChimp_Handler' ) ) {
|
|
437 |
'LNAME' => $last_name
|
438 |
);
|
439 |
|
440 |
-
|
|
|
|
|
441 |
$interest_groups = array_fill_keys( $this->interest_groups(), true );
|
442 |
|
443 |
// Allow hooking into variables
|
437 |
'LNAME' => $last_name
|
438 |
);
|
439 |
|
440 |
+
$interest_groups = $this->interest_groups();
|
441 |
+
|
442 |
+
if ( ! empty( $interest_groups) ) {
|
443 |
$interest_groups = array_fill_keys( $this->interest_groups(), true );
|
444 |
|
445 |
// Allow hooking into variables
|
includes/class-ss-wc-mailchimp-migrator.php
CHANGED
@@ -7,7 +7,7 @@ final class SS_WC_MailChimp_Migrator {
|
|
7 |
|
8 |
const VERSION_KEY = 'ss_wc_mailchimp_version';
|
9 |
|
10 |
-
|
11 |
'1.3.X',
|
12 |
'2.0',
|
13 |
);
|
@@ -25,14 +25,14 @@ final class SS_WC_MailChimp_Migrator {
|
|
25 |
|
26 |
require_once( 'migrations/class-ss-wc-migration.php' );
|
27 |
|
28 |
-
$start = array_search( $current_version, self
|
29 |
|
30 |
// error_log( 'Starting at migration ' . $start );
|
31 |
|
32 |
-
for ($start; $start < count(self
|
33 |
$next = $start + 1;
|
34 |
-
$current_version = self
|
35 |
-
$target_version = self
|
36 |
|
37 |
// error_log( 'Migrating from ' . $current_version . ' to ' . $target_version );
|
38 |
//
|
7 |
|
8 |
const VERSION_KEY = 'ss_wc_mailchimp_version';
|
9 |
|
10 |
+
protected static $versions = array(
|
11 |
'1.3.X',
|
12 |
'2.0',
|
13 |
);
|
25 |
|
26 |
require_once( 'migrations/class-ss-wc-migration.php' );
|
27 |
|
28 |
+
$start = array_search( $current_version, self::$versions );
|
29 |
|
30 |
// error_log( 'Starting at migration ' . $start );
|
31 |
|
32 |
+
for ($start; $start < count(self::$versions) - 1; $start++) {
|
33 |
$next = $start + 1;
|
34 |
+
$current_version = self::$versions[$start];
|
35 |
+
$target_version = self::$versions[$next];
|
36 |
|
37 |
// error_log( 'Migrating from ' . $current_version . ' to ' . $target_version );
|
38 |
//
|
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.
|
11 |
|
12 |
private static $text_domain = 'woocommerce-mailchimp';
|
13 |
|
7 |
|
8 |
private static $_instance;
|
9 |
|
10 |
+
private static $version = '2.0.6';
|
11 |
|
12 |
private static $text_domain = 'woocommerce-mailchimp';
|
13 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ 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.
|
7 |
License: GPLv3
|
8 |
|
9 |
Simple and flexible MailChimp integration for WooCommerce.
|
@@ -97,7 +97,7 @@ 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.
|
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 |
|
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 |
|
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 |
|
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.
|
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.6
|
9 |
* Text Domain: woocommerce-mailchimp
|
10 |
* Domain Path: languages
|
11 |
*
|