diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 0d0fcfeb..8f55fe5c 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,4 +1,7 @@ == Changelog == += 4.0.1 = +* Log changes +* Add audience name to overview = 4.0 = * Allow orders to be sent to Mailchimp even if a Wordpress user role isn't set * Support for custom order IDs diff --git a/README.txt b/README.txt index d2d3c31d..55905e0a 100644 --- a/README.txt +++ b/README.txt @@ -4,7 +4,7 @@ Tags: ecommerce,email,workflows,mailchimp Donate link: https://mailchimp.com Requires at least: 4.9 Tested up to: 6.5 -Stable tag: 4.0 +Stable tag: 4.0.1 Requires PHP: 7.4 WC requires at least: 4.2 WC tested up to: 8.8 @@ -78,9 +78,7 @@ At this time, the synchronization of product categories from WooCommerce to Mail 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. -= 4.0 = -* Allow orders to be sent to Mailchimp even if a Wordpress user role isn't set -* Support for custom order IDs -* Updated dependabot issues related to block-based checkouts -* Refreshed plugin interface += 4.0.1 = +* Log changes +* Add audience name to overview diff --git a/admin/class-mailchimp-woocommerce-admin.php b/admin/class-mailchimp-woocommerce-admin.php index 9a602eb1..b780c70d 100644 --- a/admin/class-mailchimp-woocommerce-admin.php +++ b/admin/class-mailchimp-woocommerce-admin.php @@ -988,9 +988,9 @@ public function mailchimp_woocommerce_ajax_oauth_status() { * Mailchimp OAuth connection finish */ public function mailchimp_woocommerce_ajax_oauth_finish() { - mailchimp_log('admin', 'right before middleware oauth finish'); + //mailchimp_log('admin', 'right before middleware oauth finish'); $this->adminOnlyMiddleware(); - mailchimp_log('admin', 'right after middleware oauth finish'); + //mailchimp_log('admin', 'right after middleware oauth finish'); $args = array( 'domain' => site_url(), 'secret' => get_site_transient( 'mailchimp-woocommerce-oauth-secret' ), @@ -1006,7 +1006,7 @@ public function mailchimp_woocommerce_ajax_oauth_finish() { $response = wp_remote_post( 'https://woocommerce.mailchimpapp.com/api/finish', $pload ); - mailchimp_log('admin', "finished oauth", array('response' => $response)); + //mailchimp_log('admin', "finished oauth", array('response' => $response)); // need to return the error message if this is the problem. if ( $response instanceof WP_Error ) { @@ -1020,7 +1020,7 @@ public function mailchimp_woocommerce_ajax_oauth_finish() { $options = get_option($this->plugin_name); $options['mailchimp_api_key'] = $result['access_token'].'-'.$result['data_center']; - mailchimp_log('admin', "got access token - updating options", array('response' => $response['body'])); + //mailchimp_log('admin', "got access token - updating options", array('response' => $response['body'])); update_option( $this->plugin_name, $options ); @@ -1833,7 +1833,7 @@ public function inject_sync_ajax_call() { * @return false|mixed|null */ private function updateMailChimpList( $data = null, $list_id = null ) { - mailchimp_log('admin', 'updating mailchimp list', array('data' => $data)); + //mailchimp_log('admin', 'updating mailchimp list', array('data' => $data)); if ( empty( $data ) ) { $data = $this->getOptions(); } diff --git a/admin/v2/templates/confirmation/tabs/overview.php b/admin/v2/templates/confirmation/tabs/overview.php index 3ed534b4..d1ff88d7 100644 --- a/admin/v2/templates/confirmation/tabs/overview.php +++ b/admin/v2/templates/confirmation/tabs/overview.php @@ -142,6 +142,11 @@ +