WooCommerce MailChimp - Version 1.3.4

Version Description

  • Fix enabled check. Issue #6.
Download this release

Release Info

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

Code changes from version 1.3.3 to 1.3.4

README.md CHANGED
@@ -69,6 +69,9 @@ If you need help, have problems, want to leave feedback or want to provide const
69
 
70
  ### Changelog
71
 
 
 
 
72
  #### 1.3.3
73
  * Fix for transient key length. Tested with WordPress 4.1
74
 
69
 
70
  ### Changelog
71
 
72
+ #### 1.3.4
73
+ * Fix enabled check. Issue #6.
74
+
75
  #### 1.3.3
76
  * Fix for transient key length. Tested with WordPress 4.1
77
 
classes/class-ss-wc-integration-mailchimp.php CHANGED
@@ -9,7 +9,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
9
  *
10
  * @class SS_WC_Integration_MailChimp
11
  * @extends WC_Integration
12
- * @version 1.3.3
13
  * @package WooCommerce MailChimp
14
  * @author Saint Systems
15
  */
@@ -162,7 +162,7 @@ class SS_WC_Integration_MailChimp extends WC_Integration {
162
 
163
  if ( is_admin() && !is_ajax() ) {
164
 
165
- if ( $this->enabled && $this->has_api_key() ) {
166
  $lists = $this->get_lists();
167
  if ($lists === false ) {
168
  $lists = array ();
@@ -187,6 +187,7 @@ class SS_WC_Integration_MailChimp extends WC_Integration {
187
  'default' => 'pending',
188
  'options' => array(
189
  'pending' => __( 'Order Created', 'ss_wc_mailchimp' ),
 
190
  'completed' => __( 'Order Completed', 'ss_wc_mailchimp' ),
191
  ),
192
  ),
9
  *
10
  * @class SS_WC_Integration_MailChimp
11
  * @extends WC_Integration
12
+ * @version 1.3.4
13
  * @package WooCommerce MailChimp
14
  * @author Saint Systems
15
  */
162
 
163
  if ( is_admin() && !is_ajax() ) {
164
 
165
+ if ( $this->enabled == 'yes' && $this->has_api_key() ) {
166
  $lists = $this->get_lists();
167
  if ($lists === false ) {
168
  $lists = array ();
187
  'default' => 'pending',
188
  'options' => array(
189
  'pending' => __( 'Order Created', 'ss_wc_mailchimp' ),
190
+ 'processing' => __( 'Order Processing', 'ss_wc_mailchimp' ),
191
  'completed' => __( 'Order Completed', 'ss_wc_mailchimp' ),
192
  ),
193
  ),
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: anderly, saintsystems
3
  Tags: woocommerce, mailchimp
4
  Requires at least: 3.5.1
5
  Tested up to: 4.1
6
- Stable tag: 1.3.3
7
  License: GPLv3
8
 
9
  Simple and flexible MailChimp integration for WooCommerce.
@@ -78,6 +78,9 @@ If you need help, have problems, want to leave feedback or want to provide const
78
 
79
  == Changelog ==
80
 
 
 
 
81
  = 1.3.3 =
82
  * Fix for transient key length. Tested with WordPress 4.1
83
 
3
  Tags: woocommerce, mailchimp
4
  Requires at least: 3.5.1
5
  Tested up to: 4.1
6
+ Stable tag: 1.3.4
7
  License: GPLv3
8
 
9
  Simple and flexible MailChimp integration for WooCommerce.
78
 
79
  == Changelog ==
80
 
81
+ = 1.3.4 =
82
+ * Fix enabled check. Issue #6.
83
+
84
  = 1.3.3 =
85
  * Fix for transient key length. Tested with WordPress 4.1
86
 
woocommerce-mailchimp.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: WooCommerce MailChimp provides simple MailChimp integration for WooCommerce.
6
  * Author: Adam Anderly
7
  * Author URI: http://anderly.com
8
- * Version: 1.3.3
9
  * Text Domain: ss_wc_mailchimp
10
  * Domain Path: languages
11
  *
5
  * Description: WooCommerce MailChimp provides simple MailChimp integration for WooCommerce.
6
  * Author: Adam Anderly
7
  * Author URI: http://anderly.com
8
+ * Version: 1.3.4
9
  * Text Domain: ss_wc_mailchimp
10
  * Domain Path: languages
11
  *