MailChimp List Subscribe Form - Version 1.2.10

Version Description

Fixed submission error when apostrophes are present

Download this release

Release Info

Developer crowdfavorite
Plugin Icon wp plugin MailChimp List Subscribe Form
Version 1.2.10
Comparing to
See all releases

Code changes from version 1.2.9 to 1.2.10

Files changed (2) hide show
  1. mailchimp.php +4 -4
  2. readme.txt +5 -2
mailchimp.php CHANGED
@@ -3,7 +3,7 @@
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.2.9
7
  Author: MailChimp and Crowd Favorite
8
  Author URI: http://mailchimp.com/api/
9
  */
@@ -25,7 +25,7 @@ Author URI: http://mailchimp.com/api/
25
  */
26
 
27
  // Version constant for easy CSS refreshes
28
- define('MCSF_VER', '1.2.9');
29
 
30
  // What's our permission (capability) threshold
31
  define('MCSF_CAP_THRESHOLD', 'manage_options');
@@ -1210,7 +1210,7 @@ function mailchimpSF_signup_submit() {
1210
  if (isset($_POST['group'][$ig['id']])) {
1211
  $groupings = array(
1212
  'id' => $ig['id'],
1213
- 'groups' => str_replace(',', '\,', $_POST['group'][$ig['id']]),
1214
  );
1215
  }
1216
  break;
@@ -1219,7 +1219,7 @@ function mailchimpSF_signup_submit() {
1219
  if (isset($_POST['group'][$ig['id']])) {
1220
  foreach ($_POST['group'][$ig['id']] as $i => $value) {
1221
  // Escape
1222
- $groups .= str_replace(',', '\,', $value).',';
1223
  }
1224
  $groupings = array(
1225
  'id' => $ig['id'],
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.2.10
7
  Author: MailChimp and Crowd Favorite
8
  Author URI: http://mailchimp.com/api/
9
  */
25
  */
26
 
27
  // Version constant for easy CSS refreshes
28
+ define('MCSF_VER', '1.2.10');
29
 
30
  // What's our permission (capability) threshold
31
  define('MCSF_CAP_THRESHOLD', 'manage_options');
1210
  if (isset($_POST['group'][$ig['id']])) {
1211
  $groupings = array(
1212
  'id' => $ig['id'],
1213
+ 'groups' => str_replace(',', '\,', stripslashes($_POST['group'][$ig['id']])),
1214
  );
1215
  }
1216
  break;
1219
  if (isset($_POST['group'][$ig['id']])) {
1220
  foreach ($_POST['group'][$ig['id']] as $i => $value) {
1221
  // Escape
1222
+ $groups .= str_replace(',', '\,', stripslashes($value)).',';
1223
  }
1224
  $groupings = array(
1225
  'id' => $ig['id'],
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: mc_jesse, crowdfavorite
3
  Tags: mailchimp, email, newsletter, signup, marketing, plugin, widget
4
  Requires at least: 2.8
5
- Tested up to: 3.3.1
6
- Stable tag: 1.2.9
7
 
8
  == Description ==
9
 
@@ -124,6 +124,9 @@ Maybe! Look in the /po/ directory in our plugin package and see if your language
124
 
125
  == Upgrade Notice ==
126
 
 
 
 
127
  = 1.2.8=
128
  Fixes bug where entire phone numbers were only being deposited in the area code portion
129
 
2
  Contributors: mc_jesse, crowdfavorite
3
  Tags: mailchimp, email, newsletter, signup, marketing, plugin, widget
4
  Requires at least: 2.8
5
+ Tested up to: 3.4.1
6
+ Stable tag: 1.2.10
7
 
8
  == Description ==
9
 
124
 
125
  == Upgrade Notice ==
126
 
127
+ = 1.2.10 =
128
+ Fixed submission error when apostrophes are present
129
+
130
  = 1.2.8=
131
  Fixes bug where entire phone numbers were only being deposited in the area code portion
132