WooCommerce MailChimp - Version 1.2.4

Version Description

  • Bug fix for subscribe
Download this release

Release Info

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

Code changes from version 1.2.3 to 1.2.4

README.md CHANGED
@@ -64,6 +64,9 @@ If you need help, have problems, want to leave feedback or want to provide const
64
 
65
  ### Changelog
66
 
 
 
 
67
  ##### 1.2.3
68
  * Fixed plugin settings link for WooCommerce 2.1
69
 
64
 
65
  ### Changelog
66
 
67
+ ##### 1.2.4
68
+ * Bug fix for subscribe
69
+
70
  ##### 1.2.3
71
  * Fixed plugin settings link for WooCommerce 2.1
72
 
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.2.3
13
  * @package WooCommerce MailChimp
14
  * @author Saint Systems
15
  */
@@ -101,6 +101,8 @@ class SS_WC_Integration_MailChimp extends WC_Integration {
101
 
102
  if ( $this->is_valid() && $new_status == $this->occurs ) {
103
 
 
 
104
  // get the ss_wc_mailchimp_opt_in value from the post meta. "order_custom_fields" was removed with WooCommerce 2.1
105
  $ss_wc_mailchimp_opt_in = get_post_meta( $id, 'ss_wc_mailchimp_opt_in', true );
106
  self::log( '$ss_wc_mailchimp_opt_in: ' . $ss_wc_mailchimp_opt_in );
9
  *
10
  * @class SS_WC_Integration_MailChimp
11
  * @extends WC_Integration
12
+ * @version 1.2.4
13
  * @package WooCommerce MailChimp
14
  * @author Saint Systems
15
  */
101
 
102
  if ( $this->is_valid() && $new_status == $this->occurs ) {
103
 
104
+ $order = new WC_Order( $id );
105
+
106
  // get the ss_wc_mailchimp_opt_in value from the post meta. "order_custom_fields" was removed with WooCommerce 2.1
107
  $ss_wc_mailchimp_opt_in = get_post_meta( $id, 'ss_wc_mailchimp_opt_in', true );
108
  self::log( '$ss_wc_mailchimp_opt_in: ' . $ss_wc_mailchimp_opt_in );
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: anderly, saintsystems
3
  Tags: woocommerce, mailchimp
4
  Requires at least: 3.6
5
  Tested up to: 3.8.1
6
- Stable tag: 1.2.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.2.3 =
82
  * Fixed plugin settings link for WooCommerce 2.1
83
 
3
  Tags: woocommerce, mailchimp
4
  Requires at least: 3.6
5
  Tested up to: 3.8.1
6
+ Stable tag: 1.2.4
7
  License: GPLv3
8
 
9
  Simple and flexible MailChimp integration for WooCommerce.
78
 
79
  == Changelog ==
80
 
81
+ = 1.2.4 =
82
+ * Bug fix for subscribe
83
+
84
  = 1.2.3 =
85
  * Fixed plugin settings link for WooCommerce 2.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.2.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.2.4
9
  * Text Domain: ss_wc_mailchimp
10
  * Domain Path: languages
11
  *