Easy Forms for MailChimp - Version 5.0.6

Version Description

  • August 22, 2014 =

Fixes

  • fix bug with nonce security check when using table 'Preferred Form Layout' setting
Download this release

Release Info

Developer eherman24
Plugin Icon 128x128 Easy Forms for MailChimp
Version 5.0.6
Comparing to
See all releases

Code changes from version 5.0.5 to 5.0.6

classes/class.yksemeBase.php CHANGED
@@ -2211,7 +2211,9 @@ public function addUserToMailchimp($p)
2211
  // grab and store our nonce field
2212
  // for security purposes
2213
  $yks_mc_form_submission_nonce = $fd['_wpnonce'];
2214
-
 
 
2215
  // cross check our nonce
2216
  // passing in the action used when we created the nonce field
2217
  // if the nonce does not match, we need to die()
@@ -2884,19 +2886,19 @@ public function getFrontendFormDisplay($list='', $submit_text)
2884
  $reCAPTCHA_image = recaptcha_get_html($reCAPTCHA_api_key);
2885
 
2886
  }
2887
- // add our nonce field for security purposes
2888
- ?>
2889
- <tr class="yks-mailchimpFormTableRow">
2890
- <?php wp_nonce_field( 'yks_mc_front_end_form_'.$field['id'] ); ?>
2891
- </tr>
2892
- <?php
2893
  $num = 1;
2894
  foreach($list['fields'] as $field) : if($field['active'] == 1) :
2895
  // get field placeholders
2896
  $form_id = explode( '-', $field['id']);
2897
  $field_placeholder_ = (isset($field['placeholder-'.$form_id[1].'-'.$num]) ? $field['placeholder-'.$form_id[1].'-'.$num] : '');
2898
  echo '<input type="hidden" class="'.$field['name'].'_placeholder_value" value="'.$field_placeholder_.'">';
 
 
2899
  ?>
 
 
 
 
2900
  <!-- javascript to populate the correct form fields, with the specified place-holder value, on the lists page -->
2901
  <script>
2902
  jQuery(document).ready(function() {
2211
  // grab and store our nonce field
2212
  // for security purposes
2213
  $yks_mc_form_submission_nonce = $fd['_wpnonce'];
2214
+
2215
+
2216
+
2217
  // cross check our nonce
2218
  // passing in the action used when we created the nonce field
2219
  // if the nonce does not match, we need to die()
2886
  $reCAPTCHA_image = recaptcha_get_html($reCAPTCHA_api_key);
2887
 
2888
  }
 
 
 
 
 
 
2889
  $num = 1;
2890
  foreach($list['fields'] as $field) : if($field['active'] == 1) :
2891
  // get field placeholders
2892
  $form_id = explode( '-', $field['id']);
2893
  $field_placeholder_ = (isset($field['placeholder-'.$form_id[1].'-'.$num]) ? $field['placeholder-'.$form_id[1].'-'.$num] : '');
2894
  echo '<input type="hidden" class="'.$field['name'].'_placeholder_value" value="'.$field_placeholder_.'">';
2895
+
2896
+ // add our nonce field for security purposes
2897
  ?>
2898
+ <tr class="yks-mailchimpFormTableRow">
2899
+ <?php wp_nonce_field( 'yks_mc_front_end_form_'.$form_id[1] ); ?>
2900
+ </tr>
2901
+
2902
  <!-- javascript to populate the correct form fields, with the specified place-holder value, on the lists page -->
2903
  <script>
2904
  jQuery(document).ready(function() {
readme.md CHANGED
@@ -417,6 +417,9 @@ These functions should be used in conjunction with the `yikes_mc_get_form_data`
417
 
418
  Changes
419
  ===========
 
 
 
420
  ### 5.0.5 - August 21, 2014
421
  * added `stripslashes()` to the following settings fields :
422
  - Single Opt-in Confirmation Message
417
 
418
  Changes
419
  ===========
420
+ ### 5.0.6 - August 22, 2014
421
+ * fix bug with nonce security check when using table 'Preferred Form Layout' setting
422
+
423
  ### 5.0.5 - August 21, 2014
424
  * added `stripslashes()` to the following settings fields :
425
  - Single Opt-in Confirmation Message
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: yikesinc, hiwhatsup, liljimmi, eherman24, seriouslysean
3
  Donate link: http://yikesinc.com
4
  Tags: mailchimp, marketing, email, mailing lists, newsletter, sign up, forms, sign up form
5
  Requires at least: 3.0
6
- Tested up to: 3.9.2
7
- Stable tag: 5.0.5
8
  License: GPLv2 or later
9
 
10
  Easy MailChimp Forms allows you to painlessly add MailChimp sign up forms to your WordPress site and track user activity with interactive reports.
@@ -456,6 +456,12 @@ These functions should be used in conjunction with the `yikes_mc_get_form_data`
456
 
457
  == Changelog ==
458
 
 
 
 
 
 
 
459
  = 5.0.5 - August 21, 2014 =
460
 
461
  **Fixes**
@@ -629,7 +635,27 @@ These functions should be used in conjunction with the `yikes_mc_get_form_data`
629
 
630
  == Upgrade Notice ==
631
 
632
- = 5.0.4 =
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
633
  * Update SSL conditional in main plugin file
634
  * Added mcrypt module check, for API encryption
635
  * Conditionally loaded scripts and styles in admin ( prevent conflicts )
3
  Donate link: http://yikesinc.com
4
  Tags: mailchimp, marketing, email, mailing lists, newsletter, sign up, forms, sign up form
5
  Requires at least: 3.0
6
+ Tested up to: 4.0
7
+ Stable tag: 5.0.6
8
  License: GPLv2 or later
9
 
10
  Easy MailChimp Forms allows you to painlessly add MailChimp sign up forms to your WordPress site and track user activity with interactive reports.
456
 
457
  == Changelog ==
458
 
459
+ = 5.0.6 - August 22, 2014 =
460
+
461
+ **Fixes**
462
+
463
+ * fix bug with nonce security check when using table 'Preferred Form Layout' setting
464
+
465
  = 5.0.5 - August 21, 2014 =
466
 
467
  **Fixes**
635
 
636
  == Upgrade Notice ==
637
 
638
+ = 5.0.6 - August 22, 2014 =
639
+
640
+ **Fixes**
641
+
642
+ * fix bug with nonce security check when using table 'Preferred Form Layout' setting
643
+
644
+ = 5.0.5 - August 21, 2014 =
645
+
646
+ **Fixes**
647
+
648
+ - added `stripslashes()` to the following settings fields :
649
+ - Single Opt-in Confirmation Message
650
+ - Double Opt-in Confirmation Message
651
+ - Interest Group Label
652
+ - Opt-in Checkbox Text
653
+
654
+ **Updates**
655
+
656
+ - Updated readme FAQ section
657
+
658
+ = 5.0.4 - August 6, 2014 =
659
  * Update SSL conditional in main plugin file
660
  * Added mcrypt module check, for API encryption
661
  * Conditionally loaded scripts and styles in admin ( prevent conflicts )
yikes-inc-easy-mailchimp-extender.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Easy MailChimp Forms
5
  Plugin URI: http://www.yikesinc.com/services/yikes-inc-easy-mailchimp-extender/
6
  Description: Mailchimp integration in the form of a shortcode, php snippet or widget. Now track account status, campaign stats, view subscribers and so much more!
7
- Version: 5.0.5
8
  Author: YIKES Inc
9
  Author URI: http://yikesinc.com
10
  License: GPL2
@@ -30,7 +30,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
30
 
31
  /** Configuration **/
32
  if(!defined('YKSEME_DEBUG')) define('YKSEME_DEBUG', false);
33
- if(!defined('YKSEME_VERSION_CURRENT')) define('YKSEME_VERSION_CURRENT', '5.0.5');
34
  if(!defined('YKSEME_REQ_PHP')) define('YKSEME_REQ_PHP', '5.0');
35
  if(!defined('YKSEME_AUTHOR')) define('YKSEME_AUTHOR', 'YIKES Inc');
36
  if(!defined('YKSEME_SITE')) define('YKSEME_SITE', site_url().'/');
4
  Plugin Name: Easy MailChimp Forms
5
  Plugin URI: http://www.yikesinc.com/services/yikes-inc-easy-mailchimp-extender/
6
  Description: Mailchimp integration in the form of a shortcode, php snippet or widget. Now track account status, campaign stats, view subscribers and so much more!
7
+ Version: 5.0.6
8
  Author: YIKES Inc
9
  Author URI: http://yikesinc.com
10
  License: GPL2
30
 
31
  /** Configuration **/
32
  if(!defined('YKSEME_DEBUG')) define('YKSEME_DEBUG', false);
33
+ if(!defined('YKSEME_VERSION_CURRENT')) define('YKSEME_VERSION_CURRENT', '5.0.6');
34
  if(!defined('YKSEME_REQ_PHP')) define('YKSEME_REQ_PHP', '5.0');
35
  if(!defined('YKSEME_AUTHOR')) define('YKSEME_AUTHOR', 'YIKES Inc');
36
  if(!defined('YKSEME_SITE')) define('YKSEME_SITE', site_url().'/');