Easy Forms for MailChimp - Version 5.0.5

Version Description

  • August 21, 2014 =

Fixes

  • added stripslashes() to the following settings fields :
    • Single Opt-in Confirmation Message
    • Double Opt-in Confirmation Message
    • Interest Group Label
    • Opt-in Checkbox Text

Updates

  • Updated readme FAQ section
Download this release

Release Info

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

Code changes from version 5.0.4 to 5.0.5

classes/class.yksemeBase.php CHANGED
@@ -387,24 +387,24 @@ public function updateOptions($p)
387
  $this->optionVal['api-key'] = $apiKey;
388
  $this->optionVal['flavor'] = $fd['yks-mailchimp-flavor'];
389
  $this->optionVal['optin'] = $fd['yks-mailchimp-optin'];
390
- $this->optionVal['single-optin-message'] = $fd['single-optin-message'];
391
- $this->optionVal['double-optin-message'] = $fd['double-optin-message'];
392
- $this->optionVal['interest-group-label'] = $fd['interest-group-label'];
393
  $this->optionVal['optIn-checkbox'] = $fd['yks-mailchimp-optIn-checkbox'];
394
  $this->optionVal['yks-mailchimp-optIn-default-list'] = isset($fd['yks-mailchimp-optIn-default-list']) ? $fd['yks-mailchimp-optIn-default-list'] : null; // if its set, else set to null <- fixes save form settings bug
395
- $this->optionVal['yks-mailchimp-optin-checkbox-text'] = $fd['yks-mailchimp-optin-checkbox-text'];
396
  update_option('api_validation', 'valid_api_key');
397
  return update_option(YKSEME_OPTION, $this->optionVal);
398
  } else {
399
  $this->optionVal['api-key'] = $apiKey;
400
  $this->optionVal['flavor'] = $fd['yks-mailchimp-flavor'];
401
  $this->optionVal['optin'] = $fd['yks-mailchimp-optin'];
402
- $this->optionVal['single-optin-message'] = $fd['single-optin-message'];
403
- $this->optionVal['double-optin-message'] = $fd['double-optin-message'];
404
- $this->optionVal['interest-group-label'] = $fd['interest-group-label'];
405
  $this->optionVal['optIn-checkbox'] = $fd['yks-mailchimp-optIn-checkbox'];
406
  $this->optionVal['yks-mailchimp-optIn-default-list'] = isset($fd['yks-mailchimp-optIn-default-list']) ? $fd['yks-mailchimp-optIn-default-list'] : null; // if its set, else set to null <- fixes save form settings bug
407
- $this->optionVal['yks-mailchimp-optin-checkbox-text'] = $fd['yks-mailchimp-optin-checkbox-text'];
408
  update_option('api_validation', 'valid_api_key');
409
  // if the new API key differs from the old one
410
  // we need to unset the previously set up widgets
387
  $this->optionVal['api-key'] = $apiKey;
388
  $this->optionVal['flavor'] = $fd['yks-mailchimp-flavor'];
389
  $this->optionVal['optin'] = $fd['yks-mailchimp-optin'];
390
+ $this->optionVal['single-optin-message'] = stripslashes($fd['single-optin-message']);
391
+ $this->optionVal['double-optin-message'] = stripslashes($fd['double-optin-message']);
392
+ $this->optionVal['interest-group-label'] = stripslashes($fd['interest-group-label']);
393
  $this->optionVal['optIn-checkbox'] = $fd['yks-mailchimp-optIn-checkbox'];
394
  $this->optionVal['yks-mailchimp-optIn-default-list'] = isset($fd['yks-mailchimp-optIn-default-list']) ? $fd['yks-mailchimp-optIn-default-list'] : null; // if its set, else set to null <- fixes save form settings bug
395
+ $this->optionVal['yks-mailchimp-optin-checkbox-text'] = stripslashes($fd['yks-mailchimp-optin-checkbox-text']);
396
  update_option('api_validation', 'valid_api_key');
397
  return update_option(YKSEME_OPTION, $this->optionVal);
398
  } else {
399
  $this->optionVal['api-key'] = $apiKey;
400
  $this->optionVal['flavor'] = $fd['yks-mailchimp-flavor'];
401
  $this->optionVal['optin'] = $fd['yks-mailchimp-optin'];
402
+ $this->optionVal['single-optin-message'] = stripslashes($fd['single-optin-message']);
403
+ $this->optionVal['double-optin-message'] = stripslashes($fd['double-optin-message']);
404
+ $this->optionVal['interest-group-label'] = stripslashes($fd['interest-group-label']);
405
  $this->optionVal['optIn-checkbox'] = $fd['yks-mailchimp-optIn-checkbox'];
406
  $this->optionVal['yks-mailchimp-optIn-default-list'] = isset($fd['yks-mailchimp-optIn-default-list']) ? $fd['yks-mailchimp-optIn-default-list'] : null; // if its set, else set to null <- fixes save form settings bug
407
+ $this->optionVal['yks-mailchimp-optin-checkbox-text'] = stripslashes($fd['yks-mailchimp-optin-checkbox-text']);
408
  update_option('api_validation', 'valid_api_key');
409
  // if the new API key differs from the old one
410
  // we need to unset the previously set up widgets
images/reCAPTCHA/{reCAPTCHA_Sample_White.png → reCAPTCHA_Sample_white.png} RENAMED
File without changes
readme.md CHANGED
@@ -117,6 +117,9 @@ Read the Codex article [Installing WordPress in Your Language](http://codex.word
117
  #### Do you provide any hooks, or filters for me to take advantage of?
118
  Yes! With the 4.0 version of our plugin we have added a few hooks that allow you to add or manipulate existing data. Check out the [Other Notes](http://wordpress.org/plugins/yikes-inc-easy-mailchimp-extender/other_notes/) tab for more information.
119
 
 
 
 
120
  Developer Documentation
121
  ===========
122
  <br />
@@ -414,8 +417,15 @@ These functions should be used in conjunction with the `yikes_mc_get_form_data`
414
 
415
  Changes
416
  ===========
417
-
418
- ### 5.0.4
 
 
 
 
 
 
 
419
  * Update SSL conditional in main plugin file
420
  * Added mcrypt module check, for API encryption
421
  * Conditionally loaded scripts and styles in admin ( prevent conflicts )
117
  #### Do you provide any hooks, or filters for me to take advantage of?
118
  Yes! With the 4.0 version of our plugin we have added a few hooks that allow you to add or manipulate existing data. Check out the [Other Notes](http://wordpress.org/plugins/yikes-inc-easy-mailchimp-extender/other_notes/) tab for more information.
119
 
120
+ #### When I input my API key and hit save, it immediately reverts to a much shorter string of text and returns invalid. What's going on?
121
+ You most likely have a password manager installed and active (LastPass, OnePass, TeamPassword etc.). The API key input field is set to type="password" for security reasons. Most password managers auto-fill password fields based on the URL of the current page. So, what happens when you click save is that the password manager auto fills in the field with the password that you have saved for your site, and thus returning 'invalid API key'. To resolve the issue you'll need to temporarily disable any active password manager and re-enter and save your API key. Once the key has been successfully saved, you can re-enable your password manager.
122
+
123
  Developer Documentation
124
  ===========
125
  <br />
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
423
+ - Double Opt-in Confirmation Message
424
+ - Interest Group Label
425
+ - Opt-in Checkbox Text
426
+ * Updated Readme FAQ
427
+
428
+ ### 5.0.4 - August 6, 2014
429
  * Update SSL conditional in main plugin file
430
  * Added mcrypt module check, for API encryption
431
  * Conditionally loaded scripts and styles in admin ( prevent conflicts )
readme.txt CHANGED
@@ -1,17 +1,17 @@
1
  === Easy MailChimp Forms ===
2
  Contributors: yikesinc, hiwhatsup, liljimmi, eherman24, seriouslysean
3
  Donate link: http://yikesinc.com
4
- Tags: mailchimp, marketing, email, mailing lists, newsletter, signup, forms, signup form
5
  Requires at least: 3.0
6
- Tested up to: 3.9.1
7
- Stable tag: 5.0.4
8
  License: GPLv2 or later
9
 
10
- Easy MailChimp Forms allows you to painlessly add MailChimp signup forms to your WordPress site and track user activity with interactive reports.
11
 
12
  == Description ==
13
 
14
- Easy MailChimp Forms allows you to painlessly add MailChimp signup forms to your WordPress site. You can add forms to posts, pages or sidebars with shortcodes, widgets or template tags. Simply copy and paste your MailChimp API Key into the plugin admin settings and it will pull in all your MailChimp lists. From there you can choose the lists you want to make forms for. For a single list you can check off the fields you want to include on your form and order them via an easy drag-and-drop interface. This plugin adds plenty of CSS selectors to the form code allowing you to completely customize the look of your forms. Now with the ability to track sent campaigns, you can view and print interactive reports from based on previously sent campaigns.
15
 
16
  **Note:** You will need a MailChimp API key to allow this plugin to communicate with your MailChimp account. For help on retrieving your API key, check out [question #4 of the FAQ](http://wordpress.org/plugins/yikes-inc-easy-mailchimp-extender/faq/). You can also read the MailChimp knowledge base article [Where can I find my API key and how can I use the API](http://kb.mailchimp.com/article/where-can-i-find-my-api-key/).
17
 
@@ -57,7 +57,7 @@ Instructions on how to use the plugin can be [found in the FAQ](http://wordpress
57
  == Frequently Asked Questions ==
58
 
59
  = Do I need to have a MailChimp Account? =
60
- Yes, you can register for one for free at [MailChimp](https://mailchimp.com/signup/ "MailChimp Signup").
61
 
62
  = Do I need to have lists already set up in MailChimp? =
63
  Yes, you have to have at least 1 list set up in MailChimp.
@@ -75,7 +75,7 @@ For more help, visit the MailChimp Support article [Where can I find my API Key?
75
  = How to I add my MailChimp lists? =
76
  After you add your API key, the plugin will fetch all of your MailChimp list information and load it into the plugin admin. Go to the plugin "Manage List Forms" page to choose the lists you want to make forms for.
77
 
78
- = How do I add the MailChimp signup forms to my site? =
79
  You can use a shortcode to add a form to a page or post, use the MailChimp form button in the visual editor or use a widget to add it to a sidebar. Each list on the plugin "Manage List Forms" displays a shortcode at the top. Copy the shortcode and paste it into any post or page where you want a form to appear. For example, if my form had the shortcode [yks-mailchimp-list id="1234567891"] I would copy and paste that into the page or post I wanted to add that form to.
80
 
81
  = I input a valid MailChimp API key, but it returns invalid every time. I've already tried a new API key, but no dice. What's up? =
@@ -133,6 +133,9 @@ Yes! With the 4.0 version of our plugin we have added a few hooks that allow you
133
  = Do you offer integration with reCAPTCHA? I keep getting spam entries from bots and spammers. =
134
  Yes! Since version 4.4 of Easy MailChimp Extender, we have added [reCAPTCHA](https://www.google.com/recaptcha/intro/index.html) support. You can sign up for a reCAPTCHA API key [here](https://www.google.com/recaptcha/admin#whyrecaptcha). You will need to provide your <em>public</em> key as well as the <em>private</em> key. Don't worry, its free :)
135
 
 
 
 
136
  == Developer Docs. ==
137
 
138
  **Text Domain**
@@ -453,7 +456,21 @@ These functions should be used in conjunction with the `yikes_mc_get_form_data`
453
 
454
  == Changelog ==
455
 
456
- = 5.0.4 =
 
 
 
 
 
 
 
 
 
 
 
 
 
 
457
  * Update SSL conditional in main plugin file
458
  * Added mcrypt module check, for API encryption
459
  * Conditionally loaded scripts and styles in admin ( prevent conflicts )
@@ -510,17 +527,17 @@ These functions should be used in conjunction with the `yikes_mc_get_form_data`
510
  * Added open_basedir conditional check to toggle CURLOPT_FOLLOWLOCATION based on users server settings
511
  * Prevents warning being thrown for users on shared hosts with an open_basedir set
512
 
513
- = 4.2.1 =
514
  * Removed all unnecessary Google tracking codes and functions
515
 
516
- = 4.2 =
517
  * Updated FAQ
518
  * Re-worked the redirect for a better user experience
519
  * Unified error messages into a single container on the front end
520
  * Converted custom opt-in messages to utilize the WYSIWYG editors ( now allowing for html and images to be used in your success messages )
521
  * Re-styled front end interest group containers
522
 
523
- = 4.1 =
524
  * Fixed JavaScript errors on when Address field is set to required
525
  * Added user feedback on successful re-import of form
526
  * Fixed some style issues
@@ -531,7 +548,7 @@ These functions should be used in conjunction with the `yikes_mc_get_form_data`
531
  * Fixed date picker field, and images associated to it
532
  * Added ability to include html mark-up to confirmation fields
533
 
534
- = 4.0 =
535
  * Added Interest Group/Segment Support
536
  * Ability To See Number of Subscriber Per List
537
  * View Subscribers MailChimp Profile
@@ -543,7 +560,7 @@ These functions should be used in conjunction with the `yikes_mc_get_form_data`
543
  * Added further error checking to pages
544
  * Custom TinyMCE shortcode button
545
 
546
- = 3.0 =
547
  * Update Mail Chimp API to v2.0
548
  * Added API Key Validation Check on settings page
549
 
1
  === Easy MailChimp Forms ===
2
  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.
11
 
12
  == Description ==
13
 
14
+ Easy MailChimp Forms allows you to painlessly add MailChimp sign up forms to your WordPress site. You can add forms to posts, pages or sidebars with shortcodes, widgets or template tags. Simply copy and paste your MailChimp API Key into the plugin admin settings and it will pull in all your MailChimp lists. From there you can choose the lists you want to make forms for. For a single list you can check off the fields you want to include on your form and order them via an easy drag-and-drop interface. This plugin adds plenty of CSS selectors to the form code allowing you to completely customize the look of your forms. Now with the ability to track sent campaigns, you can view and print interactive reports from based on previously sent campaigns.
15
 
16
  **Note:** You will need a MailChimp API key to allow this plugin to communicate with your MailChimp account. For help on retrieving your API key, check out [question #4 of the FAQ](http://wordpress.org/plugins/yikes-inc-easy-mailchimp-extender/faq/). You can also read the MailChimp knowledge base article [Where can I find my API key and how can I use the API](http://kb.mailchimp.com/article/where-can-i-find-my-api-key/).
17
 
57
  == Frequently Asked Questions ==
58
 
59
  = Do I need to have a MailChimp Account? =
60
+ Yes, you can register for one for free at [MailChimp](https://mailchimp.com/sign up/ "MailChimp Signup").
61
 
62
  = Do I need to have lists already set up in MailChimp? =
63
  Yes, you have to have at least 1 list set up in MailChimp.
75
  = How to I add my MailChimp lists? =
76
  After you add your API key, the plugin will fetch all of your MailChimp list information and load it into the plugin admin. Go to the plugin "Manage List Forms" page to choose the lists you want to make forms for.
77
 
78
+ = How do I add the MailChimp sign up forms to my site? =
79
  You can use a shortcode to add a form to a page or post, use the MailChimp form button in the visual editor or use a widget to add it to a sidebar. Each list on the plugin "Manage List Forms" displays a shortcode at the top. Copy the shortcode and paste it into any post or page where you want a form to appear. For example, if my form had the shortcode [yks-mailchimp-list id="1234567891"] I would copy and paste that into the page or post I wanted to add that form to.
80
 
81
  = I input a valid MailChimp API key, but it returns invalid every time. I've already tried a new API key, but no dice. What's up? =
133
  = Do you offer integration with reCAPTCHA? I keep getting spam entries from bots and spammers. =
134
  Yes! Since version 4.4 of Easy MailChimp Extender, we have added [reCAPTCHA](https://www.google.com/recaptcha/intro/index.html) support. You can sign up for a reCAPTCHA API key [here](https://www.google.com/recaptcha/admin#whyrecaptcha). You will need to provide your <em>public</em> key as well as the <em>private</em> key. Don't worry, its free :)
135
 
136
+ = When I input my API key and hit save, it immediately reverts to a much shorter string of text and returns invalid. What's going on? =
137
+ You most likely have a password manager installed and active (LastPass, OnePass, TeamPassword etc.). The API key input field is set to type="password" for security reasons. Most password managers auto-fill password fields based on the URL of the current page. So, what happens when you click save is that the password manager auto fills in the field with the password that you have saved for your site, and thus returning 'invalid API key'. To resolve the issue you'll need to temporarily disable any active password manager and re-enter and save your API key. Once the key has been successfully saved, you can re-enable your password manager.
138
+
139
  == Developer Docs. ==
140
 
141
  **Text Domain**
456
 
457
  == Changelog ==
458
 
459
+ = 5.0.5 - August 21, 2014 =
460
+
461
+ **Fixes**
462
+
463
+ - added `stripslashes()` to the following settings fields :
464
+ - Single Opt-in Confirmation Message
465
+ - Double Opt-in Confirmation Message
466
+ - Interest Group Label
467
+ - Opt-in Checkbox Text
468
+
469
+ **Updates**
470
+
471
+ - Updated readme FAQ section
472
+
473
+ = 5.0.4 - August 6, 2014 =
474
  * Update SSL conditional in main plugin file
475
  * Added mcrypt module check, for API encryption
476
  * Conditionally loaded scripts and styles in admin ( prevent conflicts )
527
  * Added open_basedir conditional check to toggle CURLOPT_FOLLOWLOCATION based on users server settings
528
  * Prevents warning being thrown for users on shared hosts with an open_basedir set
529
 
530
+ = 4.2.1 - May 21, 2014 =
531
  * Removed all unnecessary Google tracking codes and functions
532
 
533
+ = 4.2 - May 21, 2014 =
534
  * Updated FAQ
535
  * Re-worked the redirect for a better user experience
536
  * Unified error messages into a single container on the front end
537
  * Converted custom opt-in messages to utilize the WYSIWYG editors ( now allowing for html and images to be used in your success messages )
538
  * Re-styled front end interest group containers
539
 
540
+ = 4.1 - May 20, 2014 =
541
  * Fixed JavaScript errors on when Address field is set to required
542
  * Added user feedback on successful re-import of form
543
  * Fixed some style issues
548
  * Fixed date picker field, and images associated to it
549
  * Added ability to include html mark-up to confirmation fields
550
 
551
+ = 4.0 - May 14, 2014 =
552
  * Added Interest Group/Segment Support
553
  * Ability To See Number of Subscriber Per List
554
  * View Subscribers MailChimp Profile
560
  * Added further error checking to pages
561
  * Custom TinyMCE shortcode button
562
 
563
+ = 3.0 - February 22, 2014 =
564
  * Update Mail Chimp API to v2.0
565
  * Added API Key Validation Check on settings page
566
 
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.4
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.4');
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.5
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.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().'/');