Version Description
Download this release
Release Info
Developer | anderly |
Plugin | WooCommerce MailChimp |
Version | 2.0.8 |
Comparing to | |
See all releases |
Code changes from version 2.0.7 to 2.0.8
includes/class-ss-wc-mailchimp-migrator.php
CHANGED
@@ -6,6 +6,7 @@
|
|
6 |
final class SS_WC_MailChimp_Migrator {
|
7 |
|
8 |
const VERSION_KEY = 'ss_wc_mailchimp_version';
|
|
|
9 |
|
10 |
protected static $versions = array(
|
11 |
'1.3.X',
|
@@ -14,7 +15,14 @@ final class SS_WC_MailChimp_Migrator {
|
|
14 |
|
15 |
public static function migrate( $target_version ) {
|
16 |
|
|
|
17 |
$current_version = get_option( self::VERSION_KEY );
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
if ( ! $current_version ) {
|
19 |
$current_version = '1.3.X';
|
20 |
}
|
6 |
final class SS_WC_MailChimp_Migrator {
|
7 |
|
8 |
const VERSION_KEY = 'ss_wc_mailchimp_version';
|
9 |
+
const OLD_SETTINGS_KEY = 'woocommerce_mailchimp_settings';
|
10 |
|
11 |
protected static $versions = array(
|
12 |
'1.3.X',
|
15 |
|
16 |
public static function migrate( $target_version ) {
|
17 |
|
18 |
+
$old_settings = get_option( self::OLD_SETTINGS_KEY );
|
19 |
$current_version = get_option( self::VERSION_KEY );
|
20 |
+
|
21 |
+
if ( ! $old_settings && ! $current_version ) {
|
22 |
+
// This is a new install, so no need to migrate
|
23 |
+
return;
|
24 |
+
}
|
25 |
+
|
26 |
if ( ! $current_version ) {
|
27 |
$current_version = '1.3.X';
|
28 |
}
|
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.8';
|
11 |
|
12 |
private static $text_domain = 'woocommerce-mailchimp';
|
13 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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.
|
8 |
License: GPLv3
|
9 |
|
10 |
Simple and flexible MailChimp integration for WooCommerce.
|
@@ -98,7 +98,7 @@ Also, if you enjoy using the software [we'd love it if you could give us a revie
|
|
98 |
|
99 |
== Changelog ==
|
100 |
|
101 |
-
#### 2.0 - 2.0.
|
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 |
|
4 |
Tags: woocommerce, mailchimp
|
5 |
Requires at least: 3.5.1
|
6 |
Tested up to: 4.6.1
|
7 |
+
Stable tag: 2.0.8
|
8 |
License: GPLv3
|
9 |
|
10 |
Simple and flexible MailChimp integration for WooCommerce.
|
98 |
|
99 |
== Changelog ==
|
100 |
|
101 |
+
#### 2.0 - 2.0.8 - 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 |
|
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.8
|
9 |
* Text Domain: woocommerce-mailchimp
|
10 |
* Domain Path: languages
|
11 |
*
|