WooCommerce MailChimp - Version 2.1.7

Version Description

Download this release

Release Info

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

Code changes from version 2.1.6 to 2.1.7

COPYRIGHT.txt CHANGED
@@ -1,28 +1,28 @@
1
 
2
  WooCommerce MailChimp
3
-
4
- Copyright 2016 "saintsystems" (Saint Systems) www.saintsystems.com
5
-
6
  The files COPYRIGHT.txt and LICENSE.txt as well as ALL NOTICES IN THE
7
  HEADERS OF ALL FILES MUST BE KEPT INTACT.
8
 
9
  GPL-licensed
10
-
11
  Unless otherwise stated, all code in this plugin is licensed under
12
  the GPL License:
13
-
14
  All code is part of this plugin, hereinafter referred to as "program".
15
-
16
  This program is free software: you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License as published by
18
  the Free Software Foundation, either version 3 of the License, or
19
  (at your option) any later version.
20
-
21
  This program is distributed in the hope that it will be useful,
22
  but WITHOUT ANY WARRANTY; without even the implied warranty of
23
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24
  GNU General Public License for more details.
25
-
26
  You should have received a copy of the GNU General Public License
27
  along with this program. If not, see <http://www.gnu.org/licenses/>.
28
-
1
 
2
  WooCommerce MailChimp
3
+
4
+ Copyright 2018 "saintsystems" (Saint Systems) www.saintsystems.com
5
+
6
  The files COPYRIGHT.txt and LICENSE.txt as well as ALL NOTICES IN THE
7
  HEADERS OF ALL FILES MUST BE KEPT INTACT.
8
 
9
  GPL-licensed
10
+
11
  Unless otherwise stated, all code in this plugin is licensed under
12
  the GPL License:
13
+
14
  All code is part of this plugin, hereinafter referred to as "program".
15
+
16
  This program is free software: you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License as published by
18
  the Free Software Foundation, either version 3 of the License, or
19
  (at your option) any later version.
20
+
21
  This program is distributed in the hope that it will be useful,
22
  but WITHOUT ANY WARRANTY; without even the implied warranty of
23
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24
  GNU General Public License for more details.
25
+
26
  You should have received a copy of the GNU General Public License
27
  along with this program. If not, see <http://www.gnu.org/licenses/>.
28
+
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.1.6';
19
 
20
  /**
21
  * Plugin singleton instance
15
  *
16
  * @var string
17
  */
18
+ private static $version = '2.1.7';
19
 
20
  /**
21
  * Plugin singleton instance
includes/class-ss-wc-settings-mailchimp.php CHANGED
@@ -613,7 +613,7 @@ if ( ! class_exists( 'SS_WC_Settings_MailChimp' ) ) {
613
  if ( $this->mailchimp() && $this->has_list() ) {
614
  $interest_groups = $this->mailchimp()->get_interest_categories_with_interests( $this->get_list() );
615
  } else {
616
- return false;
617
  }
618
 
619
  if ( $interest_groups === false ) {
@@ -621,7 +621,7 @@ if ( ! class_exists( 'SS_WC_Settings_MailChimp' ) ) {
621
  add_action( 'admin_notices', array( $this, 'mailchimp_api_error_msg' ) );
622
  add_action( 'network_admin_notices', array( $this, 'mailchimp_api_error_msg' ) );
623
 
624
- return false;
625
 
626
  }
627
 
613
  if ( $this->mailchimp() && $this->has_list() ) {
614
  $interest_groups = $this->mailchimp()->get_interest_categories_with_interests( $this->get_list() );
615
  } else {
616
+ return array();
617
  }
618
 
619
  if ( $interest_groups === false ) {
621
  add_action( 'admin_notices', array( $this, 'mailchimp_api_error_msg' ) );
622
  add_action( 'network_admin_notices', array( $this, 'mailchimp_api_error_msg' ) );
623
 
624
+ return array();
625
 
626
  }
627
 
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.9.1
7
- Stable tag: 2.1.6
8
  License: GPLv3
9
 
10
  Simple and flexible MailChimp integration for WooCommerce.
@@ -94,7 +94,7 @@ Also, if you enjoy using the software [we'd love it if you could give us a revie
94
 
95
  == Installation ==
96
 
97
- 1. Upload or extract the `woocommerce-mailchimp` folder to your site's `/wp-content/plugins/` directory. You can also use the *Add new- option found in the *Plugins- menu in WordPress.
98
  2. Enable the plugin from the *Plugins- menu in WordPress.
99
 
100
  = Usage =
@@ -113,6 +113,9 @@ Also, if you enjoy using the software [we'd love it if you could give us a revie
113
 
114
  == Changelog ==
115
 
 
 
 
116
  #### 2.1.6 - January 26, 2018
117
  - Restore opt-in checkbox location and add params to filter to allow easier adjustment of its placement.
118
 
4
  Tags: woocommerce, mailchimp
5
  Requires at least: 3.5.1
6
  Tested up to: 4.9.1
7
+ Stable tag: 2.1.7
8
  License: GPLv3
9
 
10
  Simple and flexible MailChimp integration for WooCommerce.
94
 
95
  == Installation ==
96
 
97
+ 1. Upload or extract the `woocommerce-mailchimp` folder to your site's `/wp-content/plugins/` directory. You can also use the *Add new- option found in the *Plugins- menu in WordPress.
98
  2. Enable the plugin from the *Plugins- menu in WordPress.
99
 
100
  = Usage =
113
 
114
  == Changelog ==
115
 
116
+ #### 2.1.7 - February 1, 2018
117
+ - Fix "Invalid argument supplied for foreach" warning in settings (Issue #21)
118
+
119
  #### 2.1.6 - January 26, 2018
120
  - Restore opt-in checkbox location and add params to filter to allow easier adjustment of its placement.
121
 
woocommerce-mailchimp.php CHANGED
@@ -5,11 +5,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.1.6
9
  * Text Domain: woocommerce-mailchimp
10
  * Domain Path: languages
11
  *
12
- * Copyright: � 2017 Saint Systems
13
  * License: GNU General Public License v3.0
14
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
15
  */
5
  * Description: WooCommerce MailChimp provides simple MailChimp integration for WooCommerce.
6
  * Author: Saint Systems
7
  * Author URI: https://www.saintsystems.com
8
+ * Version: 2.1.7
9
  * Text Domain: woocommerce-mailchimp
10
  * Domain Path: languages
11
  *
12
+ * Copyright: � 2018 Saint Systems
13
  * License: GNU General Public License v3.0
14
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
15
  */