Skip to content

Commit a5bac00

Browse files
authored
Merge pull request #1150 from mailchimp/4.0.2
4.0.2
2 parents ab54f27 + 3dd126c commit a5bac00

7 files changed

+39
-22
lines changed

CHANGELOG.txt

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
== Changelog ==
2+
= 4.0.2 =
3+
* adds the Changelog back to the UI
4+
* tested up to Woocommerce v8.9
5+
* fixed connection issue when disconnecting and reconnecting
26
= 4.0.1 =
37
* Log changes
48
* Add audience name to overview

README.txt

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ Tags: ecommerce,email,workflows,mailchimp
44
Donate link: https://mailchimp.com
55
Requires at least: 4.9
66
Tested up to: 6.5
7-
Stable tag: 4.0.1
7+
Stable tag: 4.0.2
88
Requires PHP: 7.4
99
WC requires at least: 4.2
10-
WC tested up to: 8.8
10+
WC tested up to: 8.9
1111
License: GPLv2 or later
1212
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1313
Connect your store to your Mailchimp audience to track sales, create targeted emails, send abandoned cart emails, and more.
@@ -77,8 +77,8 @@ At this time, the synchronization of product categories from WooCommerce to Mail
7777
= My question is not listed =
7878
If you are unable to sync or connect with Mailchimp, you can open a ticket on our [Github plugin page](https://github.com/mailchimp/mc-woocommerce/issues). Please provide the version of the plugin and PHP you're using, any fatal errors in the WooCommerce logs (WooCommerce -> Status -> Logs) you're seeing, along with relevant information to the problem you're experiencing.
7979

80-
81-
= 4.0.1 =
82-
* Log changes
83-
* Add audience name to overview
84-
80+
== Changelog ==
81+
= 4.0.2 =
82+
* adds the Changelog back to the UI
83+
* tested up to Woocommerce v8.9
84+
* fixed connection issue when disconnecting and reconnecting

admin/class-mailchimp-woocommerce-admin.php

+22-9
Large diffs are not rendered by default.

admin/v2/templates/connect-accounts/button-actions.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<span><?php esc_html_e( 'Connect your store to Mailchimp', 'mailchimp-for-woocommerce' ); ?></span>
1313
</legend>
1414
<div class="mc-wc-actions">
15-
<a class="mc-wc-btn mc-wc-btn-primary-outline create-account" href='#mc-woocommerce-create-account'><?php esc_html_e( 'Create account', 'mailchimp-for-woocommerce' ); ?></a>
16-
<a id="mailchimp-oauth-connect" class="mc-wc-btn mc-wc-btn-primary oauth-connect"><?php esc_html_e( 'Connect', 'mailchimp-for-woocommerce' ); ?></a>
15+
<a id="mailchimp-oauth-connect" class="mc-wc-btn mc-wc-btn-primary oauth-connect"><?php esc_html_e( 'Connect Account', 'mailchimp-for-woocommerce' ); ?></a>
16+
<a class="mc-wc-btn mc-wc-btn-primary-outline create-account" href='#mc-woocommerce-create-account'><?php esc_html_e( 'Create Account', 'mailchimp-for-woocommerce' ); ?></a>
1717
</div>
1818

1919
<input type="hidden" id="<?php echo esc_attr( $this->plugin_name ); ?>-mailchimp-api-key" name="<?php echo esc_attr( $this->plugin_name ); ?>[mailchimp_api_key]" value="<?php echo isset( $options['mailchimp_api_key'] ) ? esc_html( $options['mailchimp_api_key'] ) : ''; ?>" required/>

bootstrap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function mailchimp_environment_variables() {
9696
return (object) array(
9797
'repo' => 'master',
9898
'environment' => 'production', // staging or production
99-
'version' => '4.0.1',
99+
'version' => '4.0.2',
100100
'php_version' => phpversion(),
101101
'wp_version' => (empty($wp_version) ? 'Unknown' : $wp_version),
102102
'wc_version' => function_exists('WC') ? WC()->version : null,

includes/class-mailchimp-woocommerce.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ private function define_admin_hooks() {
230230
$this->loader->add_action('admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts');
231231

232232
// Add menu item
233-
$this->loader->add_action('admin_menu', $plugin_admin, 'add_plugin_admin_menu_2', 71);
233+
$this->loader->add_action('admin_menu', $plugin_admin, 'add_plugin_admin_menu', 71);
234234

235235
// Add WooCommerce Navigation Bar
236236
// $this->loader->add_action('admin_menu', $plugin_admin, 'add_woocommerce_navigation_bar');

mailchimp-woocommerce.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* Plugin Name: Mailchimp for WooCommerce
1717
* Plugin URI: https://mailchimp.com/connect-your-store/
1818
* Description: Connects WooCommerce to Mailchimp to sync your store data, send targeted campaigns to your customers, and sell more stuff.
19-
* Version: 4.0.1
19+
* Version: 4.0.2
2020
* Author: Mailchimp
2121
* Author URI: https://mailchimp.com
2222
* License: GPL-2.0+
@@ -26,7 +26,7 @@
2626
* Requires at least: 4.9
2727
* Tested up to: 6.5
2828
* WC requires at least: 4.2
29-
* WC tested up to: 8.8
29+
* WC tested up to: 8.9
3030
*/
3131

3232
// If this file is called directly, abort.

0 commit comments

Comments
 (0)