Version Description
Bugfix: fixed invalid email address message after updating to 1.4.4
Download this release
Release Info
Developer | DvanKooten |
Plugin | MailChimp for WordPress |
Version | 1.4.5 |
Comparing to | |
See all releases |
Code changes from version 1.4.4 to 1.4.5
- includes/MC4WP_Lite_Form.php +3 -3
- mailchimp-for-wp.php +2 -2
- readme.txt +7 -1
includes/MC4WP_Lite_Form.php
CHANGED
@@ -232,7 +232,7 @@ class MC4WP_Lite_Form {
|
|
232 |
foreach ( $_POST as $name => $value ) {
|
233 |
|
234 |
// skip mc4wp internal vars
|
235 |
-
if (in_array( $name, array( 'mc4wp_form_instance', 'mc4wp_form_nonce', 'mc4wp_required_but_not_really', 'mc4wp_form_submit' ) ) ) {
|
236 |
continue;
|
237 |
}
|
238 |
|
@@ -304,11 +304,11 @@ class MC4WP_Lite_Form {
|
|
304 |
foreach ( $lists as $list_id ) {
|
305 |
|
306 |
$list_merge_vars = apply_filters('mc4wp_merge_vars', $merge_vars, 0, $list_id);
|
307 |
-
$result = $api->subscribe( $
|
308 |
|
309 |
if($result === true) {
|
310 |
$from_url = (isset($_SERVER['HTTP_REFERER'])) ? $_SERVER['HTTP_REFERER'] : '';
|
311 |
-
do_action('mc4wp_subscribe_form', $email, $
|
312 |
}
|
313 |
}
|
314 |
|
232 |
foreach ( $_POST as $name => $value ) {
|
233 |
|
234 |
// skip mc4wp internal vars
|
235 |
+
if ($name == strtoupper($name) || in_array( $name, array( 'mc4wp_form_instance', 'mc4wp_form_nonce', 'mc4wp_required_but_not_really', 'mc4wp_form_submit' ) ) ) {
|
236 |
continue;
|
237 |
}
|
238 |
|
304 |
foreach ( $lists as $list_id ) {
|
305 |
|
306 |
$list_merge_vars = apply_filters('mc4wp_merge_vars', $merge_vars, 0, $list_id);
|
307 |
+
$result = $api->subscribe( $list_id, $email, $list_merge_vars, $email_type, $opts['double_optin'] );
|
308 |
|
309 |
if($result === true) {
|
310 |
$from_url = (isset($_SERVER['HTTP_REFERER'])) ? $_SERVER['HTTP_REFERER'] : '';
|
311 |
+
do_action('mc4wp_subscribe_form', $email, $list_id, 0, $merge_vars, $from_url);
|
312 |
}
|
313 |
}
|
314 |
|
mailchimp-for-wp.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: MailChimp for WordPress Lite
|
4 |
Plugin URI: http://dannyvankooten.com/mailchimp-for-wordpress/
|
5 |
Description: Lite version of MailChimp for WordPress. Add various sign-up methods to your website. Show sign-up forms in your posts, pages or widgets. Add sign-up checkboxes to various forms, like your comment or contact forms. Premium features include multiple and better forms, easier styling, detailed statistics and much more: <a href="http://dannyvankooten.com/mailchimp-for-wordpress/">Upgrade now</a>
|
6 |
-
Version: 1.4.
|
7 |
Author: Danny van Kooten
|
8 |
Author URI: http://dannyvanKooten.com
|
9 |
License: GPL v3
|
@@ -27,7 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
27 |
|
28 |
defined( 'ABSPATH' ) OR exit;
|
29 |
|
30 |
-
define("MC4WP_LITE_VERSION", "1.4.
|
31 |
define("MC4WP_LITE_PLUGIN_DIR", plugin_dir_path(__FILE__));
|
32 |
|
33 |
if(!function_exists('is_plugin_active')) {
|
3 |
Plugin Name: MailChimp for WordPress Lite
|
4 |
Plugin URI: http://dannyvankooten.com/mailchimp-for-wordpress/
|
5 |
Description: Lite version of MailChimp for WordPress. Add various sign-up methods to your website. Show sign-up forms in your posts, pages or widgets. Add sign-up checkboxes to various forms, like your comment or contact forms. Premium features include multiple and better forms, easier styling, detailed statistics and much more: <a href="http://dannyvankooten.com/mailchimp-for-wordpress/">Upgrade now</a>
|
6 |
+
Version: 1.4.5
|
7 |
Author: Danny van Kooten
|
8 |
Author URI: http://dannyvanKooten.com
|
9 |
License: GPL v3
|
27 |
|
28 |
defined( 'ABSPATH' ) OR exit;
|
29 |
|
30 |
+
define("MC4WP_LITE_VERSION", "1.4.5");
|
31 |
define("MC4WP_LITE_PLUGIN_DIR", plugin_dir_path(__FILE__));
|
32 |
|
33 |
if(!function_exists('is_plugin_active')) {
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://dannyvankooten.com/donate/
|
|
4 |
Tags: mailchimp, widget, form, checkbox, sign-up form, mandrill, buddypress, multisite, bbpress, contact form 7, newsletter, mailinglist, cf7
|
5 |
Requires at least: 3.1
|
6 |
Tested up to: 3.7.1
|
7 |
-
Stable tag: 1.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -192,6 +192,9 @@ Your theme folder can be found by browsing to `/wp-content/themes/your-theme-nam
|
|
192 |
|
193 |
== Changelog ==
|
194 |
|
|
|
|
|
|
|
195 |
= 1.4.4 - November 27, 2013 =
|
196 |
* Fixed: FNAME and LNAME not being guessed from NAME for form sign-ups.
|
197 |
* Added: very small JavaScript fallback for placeholders in older browsers (<= IE9)
|
@@ -403,6 +406,9 @@ Your theme folder can be found by browsing to `/wp-content/themes/your-theme-nam
|
|
403 |
|
404 |
== Upgrade Notice ==
|
405 |
|
|
|
|
|
|
|
406 |
= 1.4.1 =
|
407 |
Fixed grouping information not being sent to MailChimp when using sign-up forms.
|
408 |
|
4 |
Tags: mailchimp, widget, form, checkbox, sign-up form, mandrill, buddypress, multisite, bbpress, contact form 7, newsletter, mailinglist, cf7
|
5 |
Requires at least: 3.1
|
6 |
Tested up to: 3.7.1
|
7 |
+
Stable tag: 1.4.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
192 |
|
193 |
== Changelog ==
|
194 |
|
195 |
+
= 1.4.5 - November 27, 2013 =
|
196 |
+
* Fixed: Invalid email address.
|
197 |
+
|
198 |
= 1.4.4 - November 27, 2013 =
|
199 |
* Fixed: FNAME and LNAME not being guessed from NAME for form sign-ups.
|
200 |
* Added: very small JavaScript fallback for placeholders in older browsers (<= IE9)
|
406 |
|
407 |
== Upgrade Notice ==
|
408 |
|
409 |
+
= 1.4.5 =
|
410 |
+
Bugfix: fixed invalid email address message after updating to 1.4.4
|
411 |
+
|
412 |
= 1.4.1 =
|
413 |
Fixed grouping information not being sent to MailChimp when using sign-up forms.
|
414 |
|