Version Description
= 1.4.2 = add customized wp_nonces functions for post-back behavior to fix 4.0 callbacks
= 1.4.1 = Fix for checkbox weirdness on 3.8
= 1.4 = Added Developer Mode "Kitchen Sink" to aid in styling without having to authenticate a MailChimp account.
= 1.3 = Now using OAuth flow within plugin for user authentication
Admin UI refresh
= 1.2.11 = Merged pull request from https://github.com/headshift/wp-mailchimp adding additional translation strings.
= 1.2.10 = Fixed submission error when apostrophes are present
= 1.2.8= Fixes bug where entire phone numbers were only being deposited in the area code portion
= 1.2.6 = Fixes major bug with "Settings" link on Plugins screen.
= 1.2.5 = Added support for multiple interest groups, field formatting based on type and date picker.
Release Info
Developer | MailChimp |
Plugin | MailChimp List Subscribe Form |
Version | 1.4.5 |
Comparing to | |
See all releases |
Code changes from version 1.4.4 to 1.4.5
- mailchimp.php +11 -11
- readme.txt +5 -1
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: MailChimp
|
4 |
-
Plugin URI:
|
5 |
Description: The MailChimp plugin allows you to quickly and easily add a signup form for your MailChimp list.
|
6 |
-
Version: 1.4.
|
7 |
-
Author: MailChimp
|
8 |
-
Author URI: http://mailchimp.com/
|
9 |
*/
|
10 |
/* Copyright 2008-2012 MailChimp.com (email : api@mailchimp.com)
|
11 |
|
@@ -25,7 +25,7 @@ Author URI: http://mailchimp.com/
|
|
25 |
*/
|
26 |
|
27 |
// Version constant for easy CSS refreshes
|
28 |
-
define('MCSF_VER', '1.4.
|
29 |
|
30 |
// What's our permission (capability) threshold
|
31 |
define('MCSF_CAP_THRESHOLD', 'manage_options');
|
@@ -110,7 +110,7 @@ function mailchimpSF_load_resources() {
|
|
110 |
wp_enqueue_script('datepicker', MCSF_URL.'/js/datepicker.js', array('jquery','jquery-ui-core'));
|
111 |
}
|
112 |
|
113 |
-
wp_enqueue_style('mailchimpSF_main_css', home_url('?mcsf_action=main_css&ver='.MCSF_VER));
|
114 |
wp_enqueue_style('mailchimpSF_ie_css', MCSF_URL.'css/ie.css');
|
115 |
global $wp_styles;
|
116 |
$wp_styles->add_data( 'mailchimpSF_ie_css', 'conditional', 'IE' );
|
@@ -1255,9 +1255,12 @@ function mailchimpSF_signup_submit() {
|
|
1255 |
|
1256 |
// Loop through our Merge Vars, and if they're empty, but required, then print an error, and mark as failed
|
1257 |
foreach($mv as $var) {
|
|
|
|
|
|
|
1258 |
$opt = 'mc_mv_'.$var['tag'];
|
1259 |
-
|
1260 |
-
$opt_val = isset($_POST[$opt]) ?
|
1261 |
|
1262 |
if (is_array($opt_val) && isset($opt_val['area'])) {
|
1263 |
// This filters out all 'falsey' elements
|
@@ -1298,9 +1301,6 @@ function mailchimpSF_signup_submit() {
|
|
1298 |
}
|
1299 |
}
|
1300 |
|
1301 |
-
// We also want to create an array where the keys are the tags for easier validation later
|
1302 |
-
$mv_tag_keys[$var['tag']] = $var;
|
1303 |
-
|
1304 |
}
|
1305 |
|
1306 |
// Head back to the beginning of the merge vars array
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: MailChimp
|
4 |
+
Plugin URI: http://www.mailchimp.com/plugins/mailchimp-wordpress-plugin/
|
5 |
Description: The MailChimp plugin allows you to quickly and easily add a signup form for your MailChimp list.
|
6 |
+
Version: 1.4.5
|
7 |
+
Author: MailChimp and Crowd Favorite
|
8 |
+
Author URI: http://mailchimp.com/api/
|
9 |
*/
|
10 |
/* Copyright 2008-2012 MailChimp.com (email : api@mailchimp.com)
|
11 |
|
25 |
*/
|
26 |
|
27 |
// Version constant for easy CSS refreshes
|
28 |
+
define('MCSF_VER', '1.4.5');
|
29 |
|
30 |
// What's our permission (capability) threshold
|
31 |
define('MCSF_CAP_THRESHOLD', 'manage_options');
|
110 |
wp_enqueue_script('datepicker', MCSF_URL.'/js/datepicker.js', array('jquery','jquery-ui-core'));
|
111 |
}
|
112 |
|
113 |
+
wp_enqueue_style('mailchimpSF_main_css', home_url('?mcsf_action=main_css&ver='.MCSF_VER, 'relative'));
|
114 |
wp_enqueue_style('mailchimpSF_ie_css', MCSF_URL.'css/ie.css');
|
115 |
global $wp_styles;
|
116 |
$wp_styles->add_data( 'mailchimpSF_ie_css', 'conditional', 'IE' );
|
1255 |
|
1256 |
// Loop through our Merge Vars, and if they're empty, but required, then print an error, and mark as failed
|
1257 |
foreach($mv as $var) {
|
1258 |
+
// We also want to create an array where the keys are the tags for easier validation later
|
1259 |
+
$mv_tag_keys[$var['tag']] = $var;
|
1260 |
+
|
1261 |
$opt = 'mc_mv_'.$var['tag'];
|
1262 |
+
|
1263 |
+
$opt_val = isset($_POST[$opt]) ? stripslashes_deep($_POST[$opt]) : '';
|
1264 |
|
1265 |
if (is_array($opt_val) && isset($opt_val['area'])) {
|
1266 |
// This filters out all 'falsey' elements
|
1301 |
}
|
1302 |
}
|
1303 |
|
|
|
|
|
|
|
1304 |
}
|
1305 |
|
1306 |
// Head back to the beginning of the merge vars array
|
@@ -3,7 +3,7 @@ Contributors: mailchimp
|
|
3 |
Tags: mailchimp, email, newsletter, signup, marketing, plugin, widget
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 4.4.2
|
6 |
-
Stable tag: 1.4.
|
7 |
|
8 |
== Description ==
|
9 |
|
@@ -169,6 +169,10 @@ Added support for multiple interest groups, field formatting based on type and d
|
|
169 |
|
170 |
== Changelog ==
|
171 |
|
|
|
|
|
|
|
|
|
172 |
= 1.4.4 =
|
173 |
* Stop using deprecated widget constructor
|
174 |
|
3 |
Tags: mailchimp, email, newsletter, signup, marketing, plugin, widget
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 4.4.2
|
6 |
+
Stable tag: 1.4.5
|
7 |
|
8 |
== Description ==
|
9 |
|
169 |
|
170 |
== Changelog ==
|
171 |
|
172 |
+
=1.4.5=
|
173 |
+
* Load admin CSS over relative home url path.
|
174 |
+
* Fix address and phone fields not passing correctly.
|
175 |
+
|
176 |
= 1.4.4 =
|
177 |
* Stop using deprecated widget constructor
|
178 |
|