MailChimp List Subscribe Form - Version 1.4.3

Version Description

  • Fix issue with improperly escaped text fields
  • Fix issue with malformed update profile link
Download this release

Release Info

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

Code changes from version 1.4.2 to 1.4.3

Files changed (2) hide show
  1. mailchimp.php +7 -6
  2. readme.txt +6 -2
mailchimp.php CHANGED
@@ -1,11 +1,11 @@
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.2
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
 
@@ -348,6 +348,7 @@ function mailchimpSF_request_handler() {
348
  }
349
  add_action('init', 'mailchimpSF_request_handler');
350
 
 
351
  function mailchimpSF_auth_nonce_key($salt = null) {
352
  if (is_null($salt)) {
353
  $salt = mailchimpSF_auth_nonce_salt();
@@ -1256,7 +1257,7 @@ function mailchimpSF_signup_submit() {
1256
  foreach($mv as $var) {
1257
  $opt = 'mc_mv_'.$var['tag'];
1258
 
1259
- $opt_val = isset($_POST[$opt]) ? $_POST[$opt] : '';
1260
 
1261
  if (is_array($opt_val) && isset($opt_val['area'])) {
1262
  // This filters out all 'falsey' elements
@@ -1414,7 +1415,7 @@ function mailchimpSF_signup_submit() {
1414
  $uid = $account['user_id'];
1415
  $username = preg_replace('/\s+/', '-', $account['username']);
1416
  $eid = base64_encode($email);
1417
- $msg .= ' ' . sprintf(__('<a href="%s">Click here to update your profile.</a>', 'mailchimp_i18n'), "http://$username.$dc.list-manage.com/subscribe/send-email?u=$uid&id=$listId&e=$eid");
1418
  }
1419
 
1420
  $errs[] = $msg;
1
  <?php
2
  /*
3
  Plugin Name: MailChimp
4
+ Plugin URI: https://connect.mailchimp.com/integrations/wordpress-list-subscribe-form/
5
  Description: The MailChimp plugin allows you to quickly and easily add a signup form for your MailChimp list.
6
+ Version: 1.4.3
7
+ Author: MailChimp
8
+ Author URI: http://mailchimp.com/
9
  */
10
  /* Copyright 2008-2012 MailChimp.com (email : api@mailchimp.com)
11
 
348
  }
349
  add_action('init', 'mailchimpSF_request_handler');
350
 
351
+
352
  function mailchimpSF_auth_nonce_key($salt = null) {
353
  if (is_null($salt)) {
354
  $salt = mailchimpSF_auth_nonce_salt();
1257
  foreach($mv as $var) {
1258
  $opt = 'mc_mv_'.$var['tag'];
1259
 
1260
+ $opt_val = isset($_POST[$opt]) ? stripslashes($_POST[$opt]) : '';
1261
 
1262
  if (is_array($opt_val) && isset($opt_val['area'])) {
1263
  // This filters out all 'falsey' elements
1415
  $uid = $account['user_id'];
1416
  $username = preg_replace('/\s+/', '-', $account['username']);
1417
  $eid = base64_encode($email);
1418
+ $msg .= ' ' . sprintf(__('<a href="%s">Click here to update your profile.</a>', 'mailchimp_i18n'), "http://$dc.list-manage.com/subscribe/send-email?u=$uid&id=$listId&e=$eid");
1419
  }
1420
 
1421
  $errs[] = $msg;
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === MailChimp List Subscribe Form ===
2
- Contributors: crowdfavorite
3
  Tags: mailchimp, email, newsletter, signup, marketing, plugin, widget
4
  Requires at least: 2.8
5
  Tested up to: 4.0
6
- Stable tag: 1.4.2
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.1 =
173
  * Update styles to be compatible with upcoming 3.8 wp-admin changes
174
 
1
  === MailChimp List Subscribe Form ===
2
+ Contributors: mailchimp
3
  Tags: mailchimp, email, newsletter, signup, marketing, plugin, widget
4
  Requires at least: 2.8
5
  Tested up to: 4.0
6
+ Stable tag: 1.4.3
7
 
8
  == Description ==
9
 
169
 
170
  == Changelog ==
171
 
172
+ = 1.4.3 =
173
+ * Fix issue with improperly escaped text fields
174
+ * Fix issue with malformed update profile link
175
+
176
  = 1.4.1 =
177
  * Update styles to be compatible with upcoming 3.8 wp-admin changes
178