Version Description
Download this release
Release Info
Developer | ryanhungate |
Plugin | MailChimp for WooCommerce |
Version | 2.2.3 |
Comparing to | |
See all releases |
Code changes from version 2.2.2 to 2.2.3
- README.txt +5 -4
- admin/class-mailchimp-woocommerce-admin.php +2 -2
- admin/partials/tabs/newsletter_settings.php +1 -2
- bootstrap.php +1 -1
- mailchimp-woocommerce.php +2 -2
README.txt
CHANGED
@@ -2,11 +2,12 @@
|
|
2 |
Contributors: ryanhungate, Mailchimp
|
3 |
Tags: ecommerce,email,workflows,mailchimp
|
4 |
Donate link: https://mailchimp.com
|
5 |
-
Requires at least: 4.
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 2.2.
|
8 |
Requires PHP: 7.0
|
9 |
-
WC
|
|
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
Connect your store to your Mailchimp audience to track sales, create targeted emails, send abandoned cart emails, and more.
|
2 |
Contributors: ryanhungate, Mailchimp
|
3 |
Tags: ecommerce,email,workflows,mailchimp
|
4 |
Donate link: https://mailchimp.com
|
5 |
+
Requires at least: 4.9
|
6 |
+
Tested up to: 5.2.2
|
7 |
+
Stable tag: 2.2.3
|
8 |
Requires PHP: 7.0
|
9 |
+
WC requires at least: 3.5
|
10 |
+
WC tested up to: 3.7
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
Connect your store to your Mailchimp audience to track sales, create targeted emails, send abandoned cart emails, and more.
|
admin/class-mailchimp-woocommerce-admin.php
CHANGED
@@ -689,8 +689,8 @@ class MailChimp_WooCommerce_Admin extends MailChimp_WooCommerce_Options {
|
|
689 |
$data = array(
|
690 |
'mailchimp_list' => isset($input['mailchimp_list']) ? $input['mailchimp_list'] : $this->getOption('mailchimp_list', ''),
|
691 |
'newsletter_label' => (isset($input['newsletter_label']) && $input['newsletter_label'] != '') ? wp_kses($input['newsletter_label'], $allowed_html) : $this->getOption('newsletter_label', __('Subscribe to our newsletter', 'mc-woocommerce')),
|
692 |
-
|
693 |
-
|
694 |
'mailchimp_checkbox_action' => isset($input['mailchimp_checkbox_action']) ? $input['mailchimp_checkbox_action'] : $this->getOption('mailchimp_checkbox_action', 'woocommerce_after_checkout_billing_form'),
|
695 |
'mailchimp_user_tags' => isset($input['mailchimp_user_tags']) ? implode(",",$sanitized_tags) : $this->getOption('mailchimp_user_tags'),
|
696 |
'mailchimp_product_image_key' => isset($input['mailchimp_product_image_key']) ? $input['mailchimp_product_image_key'] : 'medium',
|
689 |
$data = array(
|
690 |
'mailchimp_list' => isset($input['mailchimp_list']) ? $input['mailchimp_list'] : $this->getOption('mailchimp_list', ''),
|
691 |
'newsletter_label' => (isset($input['newsletter_label']) && $input['newsletter_label'] != '') ? wp_kses($input['newsletter_label'], $allowed_html) : $this->getOption('newsletter_label', __('Subscribe to our newsletter', 'mc-woocommerce')),
|
692 |
+
'mailchimp_auto_subscribe' => isset($input['mailchimp_auto_subscribe']) ? (bool) $input['mailchimp_auto_subscribe'] : false,
|
693 |
+
'mailchimp_checkbox_defaults' => $checkbox,
|
694 |
'mailchimp_checkbox_action' => isset($input['mailchimp_checkbox_action']) ? $input['mailchimp_checkbox_action'] : $this->getOption('mailchimp_checkbox_action', 'woocommerce_after_checkout_billing_form'),
|
695 |
'mailchimp_user_tags' => isset($input['mailchimp_user_tags']) ? implode(",",$sanitized_tags) : $this->getOption('mailchimp_user_tags'),
|
696 |
'mailchimp_product_image_key' => isset($input['mailchimp_product_image_key']) ? $input['mailchimp_product_image_key'] : 'medium',
|
admin/partials/tabs/newsletter_settings.php
CHANGED
@@ -69,8 +69,7 @@ $list_is_configured = isset($options['mailchimp_list']) && (!empty($options['mai
|
|
69 |
<input
|
70 |
type="checkbox"
|
71 |
name="<?php echo $this->plugin_name; ?>[mailchimp_auto_subscribe]"
|
72 |
-
id="<?php echo $this->plugin_name; ?>[mailchimp_auto_subscribe]"
|
73 |
-
required
|
74 |
<?= $list_is_configured ? 'disabled': '' ?>
|
75 |
value=1
|
76 |
<?= $enable_auto_subscribe ? 'checked' : ''?>>
|
69 |
<input
|
70 |
type="checkbox"
|
71 |
name="<?php echo $this->plugin_name; ?>[mailchimp_auto_subscribe]"
|
72 |
+
id="<?php echo $this->plugin_name; ?>[mailchimp_auto_subscribe]"
|
|
|
73 |
<?= $list_is_configured ? 'disabled': '' ?>
|
74 |
value=1
|
75 |
<?= $enable_auto_subscribe ? 'checked' : ''?>>
|
bootstrap.php
CHANGED
@@ -92,7 +92,7 @@ function mailchimp_environment_variables() {
|
|
92 |
return (object) array(
|
93 |
'repo' => 'master',
|
94 |
'environment' => 'production', // staging or production
|
95 |
-
'version' => '2.2.
|
96 |
'php_version' => phpversion(),
|
97 |
'wp_version' => (empty($wp_version) ? 'Unknown' : $wp_version),
|
98 |
'wc_version' => function_exists('WC') ? WC()->version : null,
|
92 |
return (object) array(
|
93 |
'repo' => 'master',
|
94 |
'environment' => 'production', // staging or production
|
95 |
+
'version' => '2.2.3',
|
96 |
'php_version' => phpversion(),
|
97 |
'wp_version' => (empty($wp_version) ? 'Unknown' : $wp_version),
|
98 |
'wc_version' => function_exists('WC') ? WC()->version : null,
|
mailchimp-woocommerce.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Plugin Name: Mailchimp for WooCommerce
|
17 |
* Plugin URI: https://mailchimp.com/connect-your-store/
|
18 |
* Description: Connects WooCommerce to Mailchimp to sync your store data, send targeted campaigns to your customers, and sell more stuff.
|
19 |
-
* Version: 2.2.
|
20 |
* Author: Mailchimp
|
21 |
* Author URI: https://mailchimp.com
|
22 |
* License: GPL-2.0+
|
@@ -26,7 +26,7 @@
|
|
26 |
* Requires at least: 4.7
|
27 |
* Tested up to: 5.2.2
|
28 |
* WC requires at least: 3.5
|
29 |
-
* WC tested up to: 3.
|
30 |
*/
|
31 |
|
32 |
// If this file is called directly, abort.
|
16 |
* Plugin Name: Mailchimp for WooCommerce
|
17 |
* Plugin URI: https://mailchimp.com/connect-your-store/
|
18 |
* Description: Connects WooCommerce to Mailchimp to sync your store data, send targeted campaigns to your customers, and sell more stuff.
|
19 |
+
* Version: 2.2.3
|
20 |
* Author: Mailchimp
|
21 |
* Author URI: https://mailchimp.com
|
22 |
* License: GPL-2.0+
|
26 |
* Requires at least: 4.7
|
27 |
* Tested up to: 5.2.2
|
28 |
* WC requires at least: 3.5
|
29 |
+
* WC tested up to: 3.7
|
30 |
*/
|
31 |
|
32 |
// If this file is called directly, abort.
|