Easy Forms for MailChimp - Version 5.4.2

Version Description

  • March 10th, 2015 =

  • Fixed: custom class names on input fields merged together with other class names making them un-usable.

Download this release

Release Info

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

Code changes from version 5.4.1 to 5.4.2

classes/class.yksemeBase.php CHANGED
@@ -2720,7 +2720,7 @@ if(!class_exists("yksemeBase")) {
2720
  case 'website':
2721
  case 'imageurl':
2722
  // custom placeholder value goes here
2723
- $o .= '<input type="text" name="'.$field['name'].'" placeholder="'.$placeholder.'" class="'.$field['name'].($field['require'] == 1 ? ' yks-require' : '') . ' ' . $custom_class . $class_title .'" id="'.$field['id'].'" value="" />';
2724
  break;
2725
 
2726
  case 'text':
@@ -2771,11 +2771,11 @@ if(!class_exists("yksemeBase")) {
2771
  }
2772
 
2773
  }
2774
- $o .= '<input type="text" placeholder="'.$placeholder.'" name="'.$field['name'].'" class="'.$field['name'].($field['require'] == 1 ? ' yks-require' : '') . ' ' . $custom_class . $class_title .'" id="'.$field['id'].'" value="'.$field['default'].'" />';
2775
  break;
2776
 
2777
  case 'dropdown':
2778
- $o .= '<select name="'.$field['name'].'" class="'.$field['name'].($field['require'] == 1 ? ' yks-require' : ''). ' ' . $custom_class . $class_title .'" id="'.$field['id'].'">';
2779
  if(count($field['choices']) > 0) : foreach($field['choices'] as $ok => $ov) :
2780
  $o .= '<option value="'.htmlentities($ov, ENT_QUOTES).'">'.$ov.'</option>';
2781
  endforeach; endif;
@@ -2783,18 +2783,18 @@ if(!class_exists("yksemeBase")) {
2783
  break;
2784
 
2785
  case 'address':
2786
- $o .= '<input type="text" placeholder="'.$placeholder.'" name="'.$field['name'].'" class="'.$field['name'].($field['require'] == 1 ? ' yks-require' : ''). ' ' . $custom_class . $class_title .'" id="'.$field['id'].'" value="" /><span class="yks-mailchimp-form-tooltip">Street Address</span>';
2787
- $o .= '<input type="text" name="'.$field['name'].'-add2" class="'.$field['name'].'-add2'.($field['require'] == 1 ? ' yks-require' : ''). ' ' . $custom_class . $class_title .'" id="'.$field['id'].'-add2" value="" /><span class="yks-mailchimp-form-tooltip">Apt/Suite</span>';
2788
- $o .= '<input type="text" name="'.$field['name'].'-city" class="'.$field['name'].'-city'.($field['require'] == 1 ? ' yks-require' : ''). ' ' . $custom_class . $class_title .'" id="'.$field['id'].'-city" value="" /><span class="yks-mailchimp-form-tooltip">City</span>';
2789
- $o .= '<input type="text" name="'.$field['name'].'-state" class="'.$field['name'].'-state'.($field['require'] == 1 ? ' yks-require' : ''). ' ' . $custom_class . $class_title .'" id="'.$field['id'].'-state" value="" /><span class="yks-mailchimp-form-tooltip">State</span>';
2790
- $o .= '<input type="text" name="'.$field['name'].'-zip" class="'.$field['name'].'-zip'.($field['require'] == 1 ? ' yks-require' : ''). ' ' . $custom_class . $class_title .'" id="'.$field['id'].'-zip" value="" /><span class="yks-mailchimp-form-tooltip">Zip</span>';
2791
  break;
2792
 
2793
  case 'radio':
2794
  if(count($field['choices']) > 0) : $ct=0; foreach($field['choices'] as $ok => $ov) :
2795
  $ct++;
2796
  $o .= '<label class="yks_mc_interest_group_label" for="'.$field['id'].'-'.$ok.'">
2797
- <input type="radio" name="'.$field['name'].'" class="'.$field['name'].($field['require'] == 1 ? ' yks-require' : ''). ' ' . $custom_class . $class_title .' yikes_mc_interest_group_checkbox" id="'.$field['id'].'-'.$ok.'" value="'.htmlentities($ov, ENT_QUOTES).'" />
2798
  <span>'.$ov.'</span>
2799
  </label>';;
2800
  endforeach; endif;
@@ -2802,7 +2802,7 @@ if(!class_exists("yksemeBase")) {
2802
 
2803
  case 'date':
2804
  case 'birthday':
2805
- $o .= '<input placeholder="'.$placeholder.'" type="text" name="'.$field['name'].'" class="'.$field['name'].' yks-field-type-date'.($field['require'] == 1 ? ' yks-require' : ''). ' ' . $custom_class . $class_title .'" id="'.$field['id'].'" value="" />';
2806
  break;
2807
 
2808
  }
2720
  case 'website':
2721
  case 'imageurl':
2722
  // custom placeholder value goes here
2723
+ $o .= '<input type="text" name="'.$field['name'].'" placeholder="'.$placeholder.'" class="'.$field['name'].($field['require'] == 1 ? ' yks-require' : '') . ' ' . $custom_class . ' ' . $class_title .'" id="'.$field['id'].'" value="" />';
2724
  break;
2725
 
2726
  case 'text':
2771
  }
2772
 
2773
  }
2774
+ $o .= '<input type="text" placeholder="'.$placeholder.'" name="'.$field['name'].'" class="'.$field['name'].($field['require'] == 1 ? ' yks-require' : '') . ' ' . $custom_class . ' ' . $class_title .'" id="'.$field['id'].'" value="'.$field['default'].'" />';
2775
  break;
2776
 
2777
  case 'dropdown':
2778
+ $o .= '<select name="'.$field['name'].'" class="'.$field['name'].($field['require'] == 1 ? ' yks-require' : ''). ' ' . $custom_class . ' ' . $class_title .'" id="'.$field['id'].'">';
2779
  if(count($field['choices']) > 0) : foreach($field['choices'] as $ok => $ov) :
2780
  $o .= '<option value="'.htmlentities($ov, ENT_QUOTES).'">'.$ov.'</option>';
2781
  endforeach; endif;
2783
  break;
2784
 
2785
  case 'address':
2786
+ $o .= '<input type="text" placeholder="'.$placeholder.'" name="'.$field['name'].'" class="'.$field['name'].($field['require'] == 1 ? ' yks-require' : ''). ' ' . $custom_class . ' ' . $class_title .'" id="'.$field['id'].'" value="" /><span class="yks-mailchimp-form-tooltip">Street Address</span>';
2787
+ $o .= '<input type="text" name="'.$field['name'].'-add2" class="'.$field['name'].'-add2'.($field['require'] == 1 ? ' yks-require' : ''). ' ' . $custom_class . ' ' . $class_title .'" id="'.$field['id'].'-add2" value="" /><span class="yks-mailchimp-form-tooltip">Apt/Suite</span>';
2788
+ $o .= '<input type="text" name="'.$field['name'].'-city" class="'.$field['name'].'-city'.($field['require'] == 1 ? ' yks-require' : ''). ' ' . $custom_class . ' ' . $class_title .'" id="'.$field['id'].'-city" value="" /><span class="yks-mailchimp-form-tooltip">City</span>';
2789
+ $o .= '<input type="text" name="'.$field['name'].'-state" class="'.$field['name'].'-state'.($field['require'] == 1 ? ' yks-require' : ''). ' ' . $custom_class . ' ' . $class_title .'" id="'.$field['id'].'-state" value="" /><span class="yks-mailchimp-form-tooltip">State</span>';
2790
+ $o .= '<input type="text" name="'.$field['name'].'-zip" class="'.$field['name'].'-zip'.($field['require'] == 1 ? ' yks-require' : ''). ' ' . $custom_class . ' ' . $class_title .'" id="'.$field['id'].'-zip" value="" /><span class="yks-mailchimp-form-tooltip">Zip</span>';
2791
  break;
2792
 
2793
  case 'radio':
2794
  if(count($field['choices']) > 0) : $ct=0; foreach($field['choices'] as $ok => $ov) :
2795
  $ct++;
2796
  $o .= '<label class="yks_mc_interest_group_label" for="'.$field['id'].'-'.$ok.'">
2797
+ <input type="radio" name="'.$field['name'].'" class="'.$field['name'].($field['require'] == 1 ? ' yks-require' : ''). ' ' . $custom_class . ' ' . $class_title .' yikes_mc_interest_group_checkbox" id="'.$field['id'].'-'.$ok.'" value="'.htmlentities($ov, ENT_QUOTES).'" />
2798
  <span>'.$ov.'</span>
2799
  </label>';;
2800
  endforeach; endif;
2802
 
2803
  case 'date':
2804
  case 'birthday':
2805
+ $o .= '<input placeholder="'.$placeholder.'" type="text" name="'.$field['name'].'" class="'.$field['name'].' yks-field-type-date'.($field['require'] == 1 ? ' yks-require' : ''). ' ' . $custom_class . ' ' . $class_title .'" id="'.$field['id'].'" value="" />';
2806
  break;
2807
 
2808
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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.1.1
7
- Stable tag: 5.4.1
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.
@@ -835,6 +835,10 @@ These functions should be used in conjunction with the `yikes_mc_get_form_data`
835
 
836
  == Changelog ==
837
 
 
 
 
 
838
  = 5.4.1 - March 3rd, 2015 =
839
 
840
  * Fixed: tinyMCE error thrown when saving settings page, ultimately preventing the ability to store the API key.
@@ -1127,6 +1131,9 @@ These functions should be used in conjunction with the `yikes_mc_get_form_data`
1127
 
1128
  == Upgrade Notice ==
1129
 
 
 
 
1130
  = 5.4.1 - March 3rd, 2015 =
1131
  * Fixed: tinyMCE error thrown when saving settings page, ultimately preventing the ability to store the API key.
1132
 
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.1.1
7
+ Stable tag: 5.4.2
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.
835
 
836
  == Changelog ==
837
 
838
+ = 5.4.2 - March 10th, 2015 =
839
+
840
+ * Fixed: custom class names on input fields merged together with other class names making them un-usable.
841
+
842
  = 5.4.1 - March 3rd, 2015 =
843
 
844
  * Fixed: tinyMCE error thrown when saving settings page, ultimately preventing the ability to store the API key.
1131
 
1132
  == Upgrade Notice ==
1133
 
1134
+ = 5.4.2 - March 10th, 2015 =
1135
+ * Fixed: custom class names on input fields merged together with other class names making them un-usable.
1136
+
1137
  = 5.4.1 - March 3rd, 2015 =
1138
  * Fixed: tinyMCE error thrown when saving settings page, ultimately preventing the ability to store the API key.
1139
 
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.4.1
8
  Author: YIKES Inc
9
  Author URI: http://yikesinc.com
10
  License: GPL3
@@ -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.4.1');
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.4.2
8
  Author: YIKES Inc
9
  Author URI: http://yikesinc.com
10
  License: GPL3
30
 
31
  /** Configuration **/
32
  if(!defined('YKSEME_DEBUG')) define('YKSEME_DEBUG', false);
33
+ if(!defined('YKSEME_VERSION_CURRENT')) define('YKSEME_VERSION_CURRENT', '5.4.2');
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().'/');