WooCommerce MailChimp - Version 2.1.19

Version Description

Download this release

Release Info

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

Code changes from version 2.1.18 to 2.1.19

includes/class-ss-wc-mailchimp-handler.php CHANGED
@@ -424,7 +424,7 @@ if ( ! class_exists( 'SS_WC_MailChimp_Handler' ) ) {
424
  if ( $this->sswcmc->display_opt_in() ) {
425
  do_action( 'ss_wc_mailchimp_before_opt_in_checkbox' );
426
 
427
- echo apply_filters( 'ss_wc_mailchimp_opt_in_checkbox', '<p class="form-row woocommerce-mailchimp-opt-in"><label class="checkbox" for="ss_wc_mailchimp_opt_in"><input type="checkbox" name="ss_wc_mailchimp_opt_in" id="ss_wc_mailchimp_opt_in" class="input-checkbox" value="yes"' . ($this->sswcmc->opt_in_checkbox_default_status() == 'checked' ? ' checked="checked"' : '') . '/> ' . $this->sswcmc->opt_in_label() . '</label></p>' . "\n", $this->sswcmc->opt_in_checkbox_default_status(), $this->sswcmc->opt_in_label(), $this->sswcmc->opt_in_checkbox_default_status(), $this->sswcmc->opt_in_label() );
428
  // woocommerce_form_field( '2ss_wc_mailchimp_opt_in', array(
429
  // 'type' => 'checkbox',
430
  // 'class' => array('woocommerce-mailchimp-opt-in'),
424
  if ( $this->sswcmc->display_opt_in() ) {
425
  do_action( 'ss_wc_mailchimp_before_opt_in_checkbox' );
426
 
427
+ echo apply_filters( 'ss_wc_mailchimp_opt_in_checkbox', '<p class="form-row woocommerce-mailchimp-opt-in"><label class="woocommerce-form__label woocommerce-form__label-for-checkbox checkbox" for="ss_wc_mailchimp_opt_in"><input type="checkbox" name="ss_wc_mailchimp_opt_in" id="ss_wc_mailchimp_opt_in" class="woocommerce-form__input woocommerce-form__input-checkbox input-checkbox" value="yes"' . ($this->sswcmc->opt_in_checkbox_default_status() == 'checked' ? ' checked="checked"' : '') . '/><span class="woocommerce-mailchimp-opt-in-checkbox-text">' . $this->sswcmc->opt_in_label() . '</span></label></p>' . "\n", $this->sswcmc->opt_in_checkbox_default_status(), $this->sswcmc->opt_in_label(), $this->sswcmc->opt_in_checkbox_default_status(), $this->sswcmc->opt_in_label() );
428
  // woocommerce_form_field( '2ss_wc_mailchimp_opt_in', array(
429
  // 'type' => 'checkbox',
430
  // 'class' => array('woocommerce-mailchimp-opt-in'),
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.18';
19
 
20
  /**
21
  * Plugin singleton instance
15
  *
16
  * @var string
17
  */
18
+ private static $version = '2.1.19';
19
 
20
  /**
21
  * Plugin singleton instance
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: woocommerce, mailchimp
5
  Requires at least: 3.5.1
6
  Tested up to: 5.1
7
  WC tested up to: 3.5.4
8
- Stable tag: 2.1.18
9
  License: GPLv3
10
 
11
  Simple and flexible MailChimp integration for WooCommerce.
@@ -114,6 +114,9 @@ Also, if you enjoy using the software [we'd love it if you could give us a revie
114
 
115
  == Changelog ==
116
 
 
 
 
117
  #### 2.1.18 - February 15, 2019
118
  - Add subscribe_customer param to before/after subscribe hooks.
119
  - Use new logging action for logging.
5
  Requires at least: 3.5.1
6
  Tested up to: 5.1
7
  WC tested up to: 3.5.4
8
+ Stable tag: 2.1.19
9
  License: GPLv3
10
 
11
  Simple and flexible MailChimp integration for WooCommerce.
114
 
115
  == Changelog ==
116
 
117
+ #### 2.1.19 - February 15, 2019
118
+ - Update styling of opt-in checkbox.
119
+
120
  #### 2.1.18 - February 15, 2019
121
  - Add subscribe_customer param to before/after subscribe hooks.
122
  - Use new logging action for logging.
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.1.18
9
  * WC tested up to: 3.5.4
10
  * Text Domain: woocommerce-mailchimp
11
  * Domain Path: languages
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.19
9
  * WC tested up to: 3.5.4
10
  * Text Domain: woocommerce-mailchimp
11
  * Domain Path: languages