Version Description
Download this release
Release Info
Developer | DvanKooten |
Plugin | MailChimp for WordPress |
Version | 4.0.1 |
Comparing to | |
See all releases |
Code changes from version 4.0 to 4.0.1
- CHANGELOG.md +8 -1
- includes/admin/class-admin.php +1 -1
- includes/forms/class-form-listener.php +1 -1
- includes/mailchimp/class-merge-field.php +0 -5
- mailchimp-for-wp.php +2 -2
- readme.txt +9 -2
- vendor/autoload_52.php +1 -1
- vendor/composer/autoload_real_52.php +3 -3
CHANGELOG.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
Changelog
|
2 |
=========
|
3 |
|
4 |
-
#### 4.0 - August 9, 2016
|
5 |
|
6 |
This release updates the plugin to version 3 of the MailChimp API. Please [read through the upgrade guide](https://mc4wp.com/kb/upgrading-to-4-0/) before updating to make sure things keep working as expected for you.
|
7 |
|
@@ -27,6 +27,13 @@ This release updates the plugin to version 3 of the MailChimp API. Please [read
|
|
27 |
- Available fields in form editor are now split-up by category.
|
28 |
- Birthday fields now accept a broader range of values and delimiters.
|
29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
#### 3.1.12 - July 28, 2016
|
32 |
|
1 |
Changelog
|
2 |
=========
|
3 |
|
4 |
+
#### 4.0 & 4.0.1 - August 9, 2016
|
5 |
|
6 |
This release updates the plugin to version 3 of the MailChimp API. Please [read through the upgrade guide](https://mc4wp.com/kb/upgrading-to-4-0/) before updating to make sure things keep working as expected for you.
|
7 |
|
27 |
- Available fields in form editor are now split-up by category.
|
28 |
- Birthday fields now accept a broader range of values and delimiters.
|
29 |
|
30 |
+
**Fixes**
|
31 |
+
|
32 |
+
- Issue with only 10 MailChimp lists / fields / interests being returned.
|
33 |
+
- Incorrect form message showing when double opt-in is disabled.
|
34 |
+
- Error in upgrade routine when API request fails.
|
35 |
+
- List fields not fetched when list has just 1 non-default merge field.
|
36 |
+
|
37 |
|
38 |
#### 3.1.12 - July 28, 2016
|
39 |
|
includes/admin/class-admin.php
CHANGED
@@ -154,7 +154,7 @@ class MC4WP_Admin {
|
|
154 |
delete_option( 'mc4wp_lite_version' );
|
155 |
update_option( 'mc4wp_version', $previous_version );
|
156 |
}
|
157 |
-
|
158 |
$previous_version = get_option( 'mc4wp_version', 0 );
|
159 |
|
160 |
// Ran upgrade routines before?
|
154 |
delete_option( 'mc4wp_lite_version' );
|
155 |
update_option( 'mc4wp_version', $previous_version );
|
156 |
}
|
157 |
+
|
158 |
$previous_version = get_option( 'mc4wp_version', 0 );
|
159 |
|
160 |
// Ran upgrade routines before?
|
includes/forms/class-form-listener.php
CHANGED
@@ -134,7 +134,7 @@ class MC4WP_Form_Listener {
|
|
134 |
// bail
|
135 |
return;
|
136 |
}
|
137 |
-
|
138 |
// Success! Did we update or newly subscribe?
|
139 |
if( $result->status === 'subscribed' && $result->was_already_on_list ) {
|
140 |
$form->add_message('updated');
|
134 |
// bail
|
135 |
return;
|
136 |
}
|
137 |
+
|
138 |
// Success! Did we update or newly subscribe?
|
139 |
if( $result->status === 'subscribed' && $result->was_already_on_list ) {
|
140 |
$form->add_message('updated');
|
includes/mailchimp/class-merge-field.php
CHANGED
@@ -9,11 +9,6 @@
|
|
9 |
*/
|
10 |
class MC4WP_MailChimp_Merge_Field {
|
11 |
|
12 |
-
/**
|
13 |
-
* @var int
|
14 |
-
*/
|
15 |
-
public $id;
|
16 |
-
|
17 |
/**
|
18 |
* @var string
|
19 |
*/
|
9 |
*/
|
10 |
class MC4WP_MailChimp_Merge_Field {
|
11 |
|
|
|
|
|
|
|
|
|
|
|
12 |
/**
|
13 |
* @var string
|
14 |
*/
|
mailchimp-for-wp.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: MailChimp for WordPress
|
4 |
Plugin URI: https://mc4wp.com/#utm_source=wp-plugin&utm_medium=mailchimp-for-wp&utm_campaign=plugins-page
|
5 |
Description: MailChimp for WordPress by ibericode. Adds various highly effective sign-up methods to your site.
|
6 |
-
Version: 4.0
|
7 |
Author: ibericode
|
8 |
Author URI: https://ibericode.com/
|
9 |
Text Domain: mailchimp-for-wp
|
@@ -47,7 +47,7 @@ function __mc4wp_load_plugin() {
|
|
47 |
}
|
48 |
|
49 |
// bootstrap the core plugin
|
50 |
-
define( 'MC4WP_VERSION', '4.0' );
|
51 |
define( 'MC4WP_PLUGIN_DIR', dirname( __FILE__ ) . '/' );
|
52 |
define( 'MC4WP_PLUGIN_URL', plugins_url( '/' , __FILE__ ) );
|
53 |
define( 'MC4WP_PLUGIN_FILE', __FILE__ );
|
3 |
Plugin Name: MailChimp for WordPress
|
4 |
Plugin URI: https://mc4wp.com/#utm_source=wp-plugin&utm_medium=mailchimp-for-wp&utm_campaign=plugins-page
|
5 |
Description: MailChimp for WordPress by ibericode. Adds various highly effective sign-up methods to your site.
|
6 |
+
Version: 4.0.1
|
7 |
Author: ibericode
|
8 |
Author URI: https://ibericode.com/
|
9 |
Text Domain: mailchimp-for-wp
|
47 |
}
|
48 |
|
49 |
// bootstrap the core plugin
|
50 |
+
define( 'MC4WP_VERSION', '4.0.1' );
|
51 |
define( 'MC4WP_PLUGIN_DIR', dirname( __FILE__ ) . '/' );
|
52 |
define( 'MC4WP_PLUGIN_URL', plugins_url( '/' , __FILE__ ) );
|
53 |
define( 'MC4WP_PLUGIN_FILE', __FILE__ );
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://mc4wp.com/#utm_source=wp-plugin-repo&utm_medium=mailchimp-f
|
|
4 |
Tags: mailchimp, mc4wp, email, marketing, newsletter, subscribe, widget, mc4wp, contact form 7, woocommerce, buddypress, ibericode, mailchimp forms, mailchimp integrations
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.6
|
7 |
-
Stable tag: 4.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -188,7 +188,7 @@ MailChimp for WordPress is being developed on GitHub. If you want to collaborate
|
|
188 |
== Changelog ==
|
189 |
|
190 |
|
191 |
-
#### 4.0 - August 9, 2016
|
192 |
|
193 |
This release updates the plugin to version 3 of the MailChimp API. Please [read through the upgrade guide](https://mc4wp.com/kb/upgrading-to-4-0/) before updating to make sure things keep working as expected for you.
|
194 |
|
@@ -214,6 +214,13 @@ This release updates the plugin to version 3 of the MailChimp API. Please [read
|
|
214 |
- Available fields in form editor are now split-up by category.
|
215 |
- Birthday fields now accept a broader range of values and delimiters.
|
216 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
217 |
|
218 |
#### 3.1.12 - July 28, 2016
|
219 |
|
4 |
Tags: mailchimp, mc4wp, email, marketing, newsletter, subscribe, widget, mc4wp, contact form 7, woocommerce, buddypress, ibericode, mailchimp forms, mailchimp integrations
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.6
|
7 |
+
Stable tag: 4.0.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
188 |
== Changelog ==
|
189 |
|
190 |
|
191 |
+
#### 4.0 & 4.0.1 - August 9, 2016
|
192 |
|
193 |
This release updates the plugin to version 3 of the MailChimp API. Please [read through the upgrade guide](https://mc4wp.com/kb/upgrading-to-4-0/) before updating to make sure things keep working as expected for you.
|
194 |
|
214 |
- Available fields in form editor are now split-up by category.
|
215 |
- Birthday fields now accept a broader range of values and delimiters.
|
216 |
|
217 |
+
**Fixes**
|
218 |
+
|
219 |
+
- Issue with only 10 MailChimp lists / fields / interests being returned.
|
220 |
+
- Incorrect form message showing when double opt-in is disabled.
|
221 |
+
- Error in upgrade routine when API request fails.
|
222 |
+
- List fields not fetched when list has just 1 non-default merge field.
|
223 |
+
|
224 |
|
225 |
#### 3.1.12 - July 28, 2016
|
226 |
|
vendor/autoload_52.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInite32bc3fee4785e23fa1f7b481811016a::getLoader();
|
vendor/composer/autoload_real_52.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
-
class
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInite0971d1c79c8ef0c31f7c7dd0cc73532 {
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
+
class ComposerAutoloaderInite32bc3fee4785e23fa1f7b481811016a {
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInite32bc3fee4785e23fa1f7b481811016a', 'loadClassLoader'), true /*, true */);
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInite32bc3fee4785e23fa1f7b481811016a', 'loadClassLoader'));
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|