Easy Forms for MailChimp - Version 6.4.4

Version Description

  • July 24th, 2018 =
  • Fixed an issue where the Update Profile Email would not send when the submitted email address contained capital letters.
  • Users will now be redirected in accordance with their submission settings after the Update Profile Email is successfully sent.
  • The max character length of a MERGE field's label is now 50 characters to match MailChimp's max length.
  • The input field for editing a MERGE field's label has been increased.
Download this release

Release Info

Developer yikesitskevin
Plugin Icon 128x128 Easy Forms for MailChimp
Version 6.4.4
Comparing to
See all releases

Code changes from version 6.4.3 to 6.4.4

admin/class-yikes-inc-easy-mailchimp-extender-admin.php CHANGED
@@ -1805,7 +1805,7 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
1805
  <?php if ( $excluded_field ) { ?>
1806
  <img src="<?php echo YIKES_MC_URL . 'includes/images/warning.svg'; ?>" class="field-doesnt-exist-notice" title="<?php _e( 'Field no longer exists.', 'yikes-inc-easy-mailchimp-extender' ); ?>" alt="<?php _e( 'Field no longer exists.', 'yikes-inc-easy-mailchimp-extender' ); ?>">
1807
  <?php } ?>
1808
- <input maxlength="45" type="text" class="yikes-mc-edit-field-label-input" value="<?php echo stripslashes( $field['label'] ); ?>" />
1809
  <span class="dashicons dashicons-yes yikes-mc-save-field-label-edits-icon" title="<?php _e( 'Click to save changes.', 'yikes-inc-easy-mailchimp-extender' ); ?>"></span>
1810
  <span class="dashicons dashicons-edit yikes-mc-edit-field-label-icon" title="<?php _e( 'Click to edit the label', 'yikes-inc-easy-mailchimp-extender' ); ?>"></span>
1811
  <span class="yikes-mc-edit-field-label-message"></span>
1805
  <?php if ( $excluded_field ) { ?>
1806
  <img src="<?php echo YIKES_MC_URL . 'includes/images/warning.svg'; ?>" class="field-doesnt-exist-notice" title="<?php _e( 'Field no longer exists.', 'yikes-inc-easy-mailchimp-extender' ); ?>" alt="<?php _e( 'Field no longer exists.', 'yikes-inc-easy-mailchimp-extender' ); ?>">
1807
  <?php } ?>
1808
+ <input maxlength="50" type="text" class="yikes-mc-edit-field-label-input" value="<?php echo stripslashes( $field['label'] ); ?>" />
1809
  <span class="dashicons dashicons-yes yikes-mc-save-field-label-edits-icon" title="<?php _e( 'Click to save changes.', 'yikes-inc-easy-mailchimp-extender' ); ?>"></span>
1810
  <span class="dashicons dashicons-edit yikes-mc-edit-field-label-icon" title="<?php _e( 'Click to edit the label', 'yikes-inc-easy-mailchimp-extender' ); ?>"></span>
1811
  <span class="yikes-mc-edit-field-label-message"></span>
admin/css/yikes-inc-easy-mailchimp-extender-admin.css CHANGED
@@ -2081,7 +2081,7 @@ body.wp-customizer #available-widgets [id*="_yikes_easy_mc_widget"]>div.widget-t
2081
 
2082
  .yikes-mc-edit-field-label-input {
2083
  display: none;
2084
- width: auto;
2085
  border-radius: 5px;
2086
  }
2087
  .yikes-mc-save-field-label-edits-icon {
2081
 
2082
  .yikes-mc-edit-field-label-input {
2083
  display: none;
2084
+ width: 80%;
2085
  border-radius: 5px;
2086
  }
2087
  .yikes-mc-save-field-label-edits-icon {
admin/css/yikes-inc-easy-mailchimp-extender-admin.min.css CHANGED
@@ -1 +1 @@
1
- .yikes-easy-mc-hidden{display:none}.shortcode-input-field{color:#333;background:rgba(216,216,216,.35)!important}.edit-form-field-container-span{display:block;margin:.5em 0}.no-forms-widget{margin:2em 0}.view-ad-link{display:block;margin:0 auto}.no-forms-found-icon{font-size:14px;line-height:1.4;width:14px;color:#e07d7d}.coming-soon-button{position:absolute}.coming-soon-button .dashicons{font-size:14px;line-height:1.8}.add-ons-about-text{margin-top:0}#add-ons{margin:3em 0}.addon-image{display:block;text-align:center}.no-mailchimp-lists-found{padding:25px 0 25px 25px}.add-new-subscriber-button{display:block;margin-top:2em}.add-new-subscriber-form-container{display:none;padding-top:1em}.add-new-subscriber-form-container h4{margin-top:0}#migration-buttons{display:inline-block;margin-bottom:.5em}#migration-buttons form:first-child{margin-right:10px}#migration-buttons form{float:left}#yikes_easy_mc_list_stats_widget h3 span{background:url( '../../includes/images/MailChimp_Assets/Freddie_original.png' ) no-repeat scroll 8px 4px/25px auto;background-size:25px;display:block;height:30px;padding-left:3em;padding-top:5px}#yikes_easy_mc_list_stats_widget h3{padding:0;line-height:1.6em}#yikes-easy-mc-dashboard-widget-stats h3{text-align:center}#yikes_easy_mc_list_stats_widget .inside{padding:0}.yikes-easy-mc-stats-table{margin-top:1em}.yikes-easy-mc-stats-table,.yikes-easy-mc-stats-table .yikes-easy-mc-table-stats-tr,.yikes-easy-mc-stats-table tbody{display:block;width:100%}.yikes-easy-mc-table-stats-tr td{display:inline-block;width:48%;text-align:center}.yikes-easy-mc-table-stats-tr td:hover{cursor:pointer}.yikes-easy-mc-table-stats-tr td:first-of-type{border-right:1px solid #ececec}.yikes-easy-mc-stats-table .yikes-easy-mc-table-stats-tr-first{border-bottom:1px solid #ececec;border-top:1px solid #ececec}#yikes-easy-mc-widget-stat-holder{margin-top:1em}.yikes-easy-mc-stats-table p.yikes-easy-mc-dashboard-stat{color:#00a0d2;font-weight:800;font-size:20px;margin-bottom:2px;margin-top:15px;line-height:1.2;max-height:80px}.yikes-easy-mc-stats-table p.yikes-easy-mc-stat-list-label{font-size:13px;margin-top:0;margin-bottom:15px;font-family:"Open Sans"}#pre-defined-tag-interior-container{background:url(../../includes/images/tinyMCE/yikes-mailchimp-combo-faded.png) bottom right no-repeat #fff;background-size:40%}.qtip-default{background-color:transparent!important;border:transparent!important;z-index:9999999!important}.qtip-bootstrap{padding:10px!important;z-index:9999999!important;font-size:12px}.search-interest-group-preloader{display:block;margin:8px 0 0 55px;width:12px}.no-interest-groupings-enabled-message{display:block;margin-top:12px!important;width:100%}.tooltip-integration-banner{max-width:100%;margin:0 0 .25em 0}.tooltiptext.qtip-bootstrap{font-size:12px}.tooltip-title{margin:0}.dashicons-editor-help:hover{cursor:pointer}body.easy-forms_page_yikes-inc-easy-mailchimp-settings .interest-group-section{display:block;width:100%;margin:0 0 1.5em 0}body.easy-forms_page_yikes-inc-easy-mailchimp-settings .interest-group-section .interest-group-section-title{display:block;width:100%;margin:.5em 0 0}body.easy-forms_page_yikes-inc-easy-mailchimp-settings .interest-group-section input{margin-right:0}body.easy-forms_page_yikes-inc-easy-mailchimp-settings .interest-group-section label{margin-right:10px}i.mce-ico.mce-i-yks_mc_tinymce_button_key{background:url( '../../includes/images/tinyMCE/Freddie_wink.png');background-size:18px;background-position-y:1px;background-repeat:no-repeat}#yikes_mailchimp_tinyMCE_modal-title{padding-left:42px;background:transparent url(../../includes/images/MailChimp_Assets/Freddie_original.png);background-repeat:no-repeat;background-size:25px;background-position:left;background-position-x:10px}#yikes_mailchimp_tinyMCE_modal .mce-foot{border-top:none!important}#yikes_mailchimp_tinyMCE_modal{background:#fff url(../../includes/images/tinyMCE/yikes-mailchimp-combo-faded.png);background-position:bottom left;background-size:40%;background-position-x:10px;background-position-y:95%;background-repeat:no-repeat}#yikes_mailchimp_tinyMCE_modal .mce-foot{background:0 0}[id*="_yikes_easy_mc_widget"]>div.widget-top>div.widget-title>h4{background:#fafafa url(../../includes/images/MailChimp_Assets/Freddie_original.png) no-repeat scroll 2% 50%/25px auto;padding-left:40px}#review-yikes-easy-mailchimp-notice #yikes-mailchimp-logo{background:url(../../includes/images/Welcome_Page/yikes-mailchimp-welcome-logo.png) no-repeat;background-size:60px;float:left;font-size:14px;height:80px;text-align:center;width:80px}.need-support-icon{line-height:1.5}ul.support-option-list{display:inline-block;width:100%}.support-option{float:left}.support-option-second{margin-left:10px}#yikes-mailchimp-logo.support-page{float:left;width:80pt}#yikes-mailchimp-logo{height:132px;width:132px;font-size:14px;text-align:center;background:url(../../includes/images/Welcome_Page/yikes-mailchimp-welcome-logo.png) no-repeat}.yikes-easy-mc-feature-image.yikes-easy-mc-feature-v3-image{border:0;margin-left:100px!important;margin-right:100px;max-height:340px;width:auto}body.admin_page_yikes-mailchimp-edit-form div.show-some-love-container img,div.show-some-love-container img.customizer-upsell-banner{max-width:100%}body.admin_page_yikes-mailchimp-edit-form div.show-some-love-container p:first-child{font-style:italic}body.admin_page_yikes-mailchimp-edit-form div.show-some-love-container hr{margin:1em 0}body.admin_page_yikes-mailchimp-welcome .nav-tab-wrapper .nav-tab .dashicons{font-size:17px;line-height:1.5}#review-yikes-easy-mailchimp-notice .button-container{display:block;width:100%;margin:.75em 0 1.5em 0}#review-yikes-easy-mailchimp-notice .button-container .dashicons{font-size:14px;line-height:1.9;margin-left:-4px}#review-yikes-easy-mailchimp-notice .button-container .dashicons-star-filled{color:#e6b800}#review-yikes-easy-mailchimp-notice .button-container .dashicons-upload{color:#6e8841}#review-yikes-easy-mailchimp-notice .button-container .dashicons-no-alt{color:#dc3a3a;line-height:2}body.easy-mailchimp_page_yikes-inc-easy-mailchimp-settings .dashicons-no-alt{color:#dc3a3a}#review-yikes-easy-mailchimp-notice .button-container a{margin-right:10px}#review-yikes-easy-mailchimp-notice{border-left:4px solid #00a0d2;background:#fefefe;padding:1px 12px;padding-top:10px;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:15px 25px 20px 5px}input.readonly,input[readonly],textarea.readonly,textarea[readonly]{background:#d8d8d8}.dashicons.yikes-love{color:pink}.field-description-input{resize:vertical;max-height:100px}.yikes-easy-mc-postbox h3{background:#00a0d2;font-weight:800;color:#fff}.yikes-easy-mc-postbox h3.bg-transparent{color:#333;font-weight:400;background:0 0}.yikes-mc-warning-message{padding-left:15px;margin-top:0;padding-top:10px;color:#da6e6e}.error-message-container label[for=yikes-easy-mc-general-error-message],.error-message-container label[for=yikes-easy-mc-success-message],.error-message-container label[for=yikes-easy-mc-success-single-optin-message],.error-message-container label[for=yikes-easy-mc-update-email-failure],.error-message-container label[for=yikes-easy-mc-update-email-successful],.error-message-container label[for=yikes-easy-mc-user-email-body],.error-message-container label[for=yikes-easy-mc-user-email-subject],.error-message-container label[for=yikes-easy-mc-user-resubscribed-success-message],.error-message-container label[for=yikes-easy-mc-user-subscribed-message],.error-message-container label[for=yikes-easy-mc-user-subscribed-update-link]{padding:.5em 1em;background:rgba(241,241,241,.75);box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;margin:0}body.admin_page_yikes-mailchimp-edit-form #error-container{padding:2px 1em;background:rgba(241,241,241,.75);box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;margin:0;color:#f56060}.error-message-container label:last-child{padding-bottom:1em;margin-bottom:.5em}.error-message-container label,.form-settings-container label{display:block;margin:1em 0}.yikes-easy-forms-sidebar .yikes-mc-settings-expansion-section{padding:.5em .75em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.yikes-mc-settings-expansion-section{display:none;background:rgba(241,241,241,.75)}.yikes-mc-settings-expansion-section .form-table td{padding:10px 10px;vertical-align:top}.yikes-mc-settings-expansion-section .form-table td p.description{line-height:1;margin-top:2px}.expansion-section-title{background:#fff}.expansion-section-title.settings-sidebar,.form-builder-section-title{text-decoration:none;display:block;border:1px solid rgba(177,177,177,.71);color:#333;padding:5px;margin:.5em 0 0 0}.expansion-section-title.settings-sidebar .dashicons,.form-builder-section-title .dashicons{content:"\f132";font-family:dashicons;font-size:15px;line-height:1.5}span.easy-mailchimp-add-on-valid-license-container{color:#44ba44;display:block;margin-top:1em}.easy-mailchimp-add-on-invalid-license-container{color:rgba(227,107,107,.86);display:block;margin-top:1em}.options-sidebar .yikes-easy-mc-postbox{overflow:visible}.options-sidebar .inside{padding:0 20px 12px}.yikes-easy-mc-about-text{margin-top:0}.add-on-settings-divider{margin:1em 0!important}#yks-mailchimp-double-optin-message,#yks-mailchimp-single-optin-message,.settings-page-input{width:50%}#yks-mailchimp-double-optin-message,#yks-mailchimp-single-optin-message{min-height:75px;max-height:200px;resize:vertical}#addon-settings-nav li a,#settings-nav li a{color:#333;text-decoration:none!important;transition:color .15s ease-out;-moz-transition:color .15s ease-out;-webkit-transition:color .15s ease-out;-o-transition:color .15s ease-out}#addon-settings-nav li a:hover,#settings-nav li a:hover{color:#00a0d2!important}#addon-settings-nav{margin-bottom:0;margin-top:5px}.option-menu-selected-arrow{width:0;height:0;border-top:10px solid transparent;border-bottom:10px solid transparent;border-left:10px solid #a0a5aa;position:absolute;left:-.1em}.option-menu-selected-arrow+a{color:#00a0d2!important}label[for=yikes-mailchimp-debug-status]{display:inline-block;margin-bottom:1em;line-height:2.25}#yikes-mailchimp-debug-status{float:left;margin-top:.5em}label[for=yikes-mc-recaptcha-api-key],label[for=yikes-mc-recaptcha-setting]{display:block;margin-bottom:1em}input.recaptcha-setting-checkbox{display:inline-block;margin-top:.5em;vertical-align:bottom}.recaptcha-preview-link{display:block;margin-top:.5em}.recaptcha-preview-container{display:block;width:100%;display:none;margin:1em 0}.wrap #col-left,.wrap #col-right{width:49%}@media (max-width:800px){.wrap #col-left,.wrap #col-right{width:100%}}.support-page-logo{width:100%;opacity:.7;max-width:100%;display:block}.support-page-button{display:block;width:100%;min-height:40px;font-weight:700;text-align:center;line-height:3!important;margin-top:1em!important}.support-page-wordpress-font{font-size:1.3em;margin-right:13px}h2.premium-support-title{margin:1em 0 .5em 0}#premium-support-form{display:block;width:100%}#premium-support-form input[type=email],#premium-support-form input[type=submit],#premium-support-form input[type=text],#premium-support-form select{display:block;width:100%;min-width:200px;margin:.5em 0}#premium-support-form label{font-weight:800}#premium-support-form label input,#premium-support-form label select{font-weight:500}#premium-support-form p{font-weight:300;display:block;margin-bottom:1em}#wp-support-content-wrap{min-height:150px;width:100%}.support-form-hidden{display:none!important}#yikes-mailchimp-error-log .row-title{font-weight:400}.create-error-log-help:hover{cursor:pointer}.error-log-tr td{display:table;margin-bottom:1em;margin-top:.5em}p.error-log-missing-file em,p.to-start-logging-errors-notice em{margin:10px 0}.export-custom-forms-list{display:none;margin:1em 0 2em 0}.export-custom-forms-list p{margin-top:0}.list-rating-star{color:#e6b800}#import-list-to-site{margin-top:10px}#import-list-to-site .input-field{display:block;width:100%;margin-top:5px;margin-bottom:5px}#import-list-to-site .form-description{resize:vertical;max-height:65px}#import-list-to-site .description{margin-top:5px}input.clear-mailchimp-api-cache{float:right;margin-top:-33px!important}.yikes-list-refreshed-notice{border-left:4px solid #46b450;margin:5px 0}.yikes-list-refreshed-notice p{margin:1em 0 .5em 0;padding:6px 12px;background:rgba(241,241,241,.5);font-size:13px;line-height:1.5}.star-container{margin-top:5px;margin-bottom:1.5em}.star-container a{text-decoration:none}.star-container .dashicons-star-filled{font-size:1.75em}.sidebar-container{margin-top:5px;margin-bottom:1.5em}.sidebar-footer-text{margin:15px 0!important;text-align:center}.sidebar-twitter-icon{text-decoration:none;color:#55acee}.field-doesnt-exist-notice{position:absolute;margin-left:5px;width:18px}.field-type-text{display:inline-block;float:right;margin-right:.1em}.type-container{margin-top:0;margin:0}.form-field-container{margin-top:0;margin-bottom:0}.field-no-longer-exists-warning{position:absolute;margin-left:5px;width:18px}.form-field-container tr.yikes-checkbox-container input[type=checkbox]{float:left;margin:5px}.form-field-container tr.yikes-checkbox-container-first td{padding-top:12px!important}.form-field-container tr.yikes-checkbox-container td{padding:2px 12px}.form-field-container td input[type=checkbox]:first-child,.form-field-container td input[type=radio]:first-child{margin-left:0!important}.merge-tag-text{background:0 0;box-shadow:none;border:none}.pre-defined-tag-link{display:block;font-size:11px;margin-top:-2px}.toggle-container{font-size:small;float:right}#pre-defined-tag-container{display:none}#pre-defined-tag-container h3{margin-bottom:0}#pre-defined-tag-container .tooltop-tag .dashicons-editor-help{font-size:13px;line-height:1.5}.no-fields-assigned-notice{margin:4em 0 2.25em 0;padding-bottom:6em;width:100%;text-align:center;background:url( '../../includes/images/no-form-fields-assigned-arrow.jpg' ) no-repeat;background-position:bottom center;background-size:105px}.yikes-easy-mc-widget-preloader{position:absolute;left:48%;margin-top:-96px}.yikes-dashboard-widget-section{padding:0 12px 12px}.select-list-title{padding-left:0}.yikes-dashboard-widget-section .description{margin:.5em 0 0 0}. error-descripion{padding-top:.5em}.yikes-mc-freddie-logo{float:left;margin-right:10px}.mv_ig_list{width:100%;margin-bottom:8px!important;border:none!important;background:0 0!important}.mv_ig_list .list-container{position:absolute}.mv_ig_list a{width:48%;padding:5px 0!important;text-align:center;margin:0}.mv_ig_list a:first-child{margin-right:0}.mv_ig_list a:last-child{float:right}.mv_ig_list{margin-bottom:.5em}.mv_ig_list .nav-tab{border:1px solid #ccc}.mv_ig_list .nav-tab-active{color:#fff;font-weight:700;background:#00a0d2}.mv_ig_list .arrow-down{position:absolute;margin-top:21px;margin-left:50px;width:0;height:0;border-left:12px solid transparent;border-right:12px solid transparent;border-top:12px solid #00a0d2}#container-container{display:inline-block;width:540px}#container-container .list-container{float:left;width:254px;position:relative}#container-container .list-container:last-child{margin-left:2em}#yikes_easy_mc_toolbar{margin-top:-.75em}#yikes_easy_mc_toolbar_links{display:inline-block;width:100%;margin:0;padding:10px 0}#yikes_easy_mc_toolbar_links li{float:left;margin:0 .5em}#yikes_easy_mc_toolbar_links li a{text-decoration:none;display:inline-block}#yikes_easy_mc_toolbar_links li a:focus{box-shadow:none}#yikes_easy_mc_toolbar_links li a.selected_hidden_setting{color:#333;margin-bottom:3px}#yikes_easy_mc_toolbar_links li .selected_setting_triangle{width:0;height:0;border-left:13px solid transparent;border-right:13px solid transparent;border-top:13px solid rgba(206,206,206,1);margin:0 auto}#yikes_easy_mc_toolbar_links li a.form-builder:before{content:"\f116";font-family:dashicons}#yikes_easy_mc_toolbar_links li a.form-customizer:before{content:"\f100";font-family:dashicons}#yikes_easy_mc_toolbar_links li a.error-messages:before{content:"\f117";font-family:dashicons}#yikes_easy_mc_toolbar_links li a.form-settings:before{content:"\f111";font-family:dashicons}.integreation-checkbox-interest-groups-header{display:inline}.integration-checkbox-interest-groups-hr{margin-top:10px;margin-bottom:10px}#checkbox-settings-form .dashicons-editor-help{font-size:15px;line-height:1.6}.checkbox-settings-list-dropdown{display:block;width:250px}.no-lists-setup-notice{padding:.5em 0 .5em 0}.optin-checkbox-label-input{display:block;width:250px}.integration-checkbox-interest-groups{margin-bottom:10px}.integration-checkbox-interest-groups p,.integration-checkbox-interest-groups section{padding-left:25px}.yikes-mailchimp-checkbox-integration-list{color:#006799;display:inline-block;font-weight:600;margin-bottom:5px;padding:0 16px 8px 2px;vertical-align:top}.yikes-mailchimp-checkbox-integration-item{font-size:14px;font-weight:600;margin-bottom:10px}.yikes-mailchimp-checkbox-integration-list input[type=checkbox]{margin-right:0}label.optin-checkbox-label{display:block;margin:4px 0}label.optin-checkbox-label input.optin-checkbox-label-input,label.optin-checkbox-label select{display:inline-block}label.optin-checkbox-label select{margin-left:17px;width:auto}.yikes-form-id-number{width:55px}span[title="Conversion Rate"]:hover,span[title=Impressions]:hover,span[title=Submissions]:hover{display:block;cursor:pointer}.form-id-container{padding:1px 8px;border-radius:5px;background:#49a9ec;font-weight:700;color:#fff}.manage-form-admin-notice{margin-top:1.75em!important}.remove-notification,.yikes-mc-settings-expansion-section a.remove-field,a.yikes-delete-mailchimp-form,a.yikes-delete-subscriber{color:#d96060!important}.yikes-delete-mailchimp-form{margin-top:6px}#postbox-container-1 .yikes-delete-mailchimp-form{float:right}.form-buttons-container{display:block;padding:11px 10px}.forms-buttons-container input[type=submit]{margin:0 0 .5em 0}.update-form-spinner{position:absolute;left:0;right:0;margin:0 auto;bottom:13px}.yikes-mc-shortcode-input{text-align:center;width:100%;color:#333}.hidden-class{display:none!important}.stat-container{width:10%;max-width:75px}.no-current-subscriber-notice em,.no-mailchimp-forms-found em{padding:25px 0 25px 25px}.column-columnname span.stats{display:block;width:100%;text-align:center}.column-columnname span.stats span{display:inline-block;width:20%}.column-columnname span.stats span:hover{cursor:pointer}#available-fields li,#available-interest-groups li{text-decoration:none;display:block;border:1px solid rgba(177,177,177,.71);color:#333;padding:5px;margin:.5em 0}#available-fields li.not-available,#available-interest-groups li.not-available{opacity:.6!important}#available-fields li.field-to-add-to-form,#available-interest-groups li.group-to-add-to-form{background:rgba(46,162,204,.25)}.add-field-to-editor .add-to-form-builder-arrow,.button-secondary .add-to-form-builder-arrow{width:15px;font-size:15px;line-height:1.8}.clear-form-fields{background:#e14d43;border-color:#d02c21;color:#fff;box-shadow:inset 0 1px 0 #ec8b85,0 1px 0 rgba(0,0,0,.15);text-decoration:none;display:inline-block;height:28px;padding:0 10px 1px;border-width:1px;-webkit-appearance:none;border-radius:3px;white-space:nowrap;font-size:13px;line-height:26px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;float:right;margin:0 11px 10px 0}.clear-form-fields:active,.clear-form-fields:focus,.clear-form-fields:hover{background:#dd382d;border-color:#ba281e;color:#fff;box-shadow:inset 0 1px 0 #e8776f}.yikes-mc-view-list-breadcrumbs{padding:.8em;border:1px solid #d8d8d8;background:#ececec;margin:1.5em 0 .8em 0}.yikes-mc-member-rating-star{color:#daa520}#yikes-mc-subscriber-card-wrapper{background:#fefefe;min-height:200px;display:inline-block;box-shadow:0 1px 1px rgba(0,0,0,.04);webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #e5e5e5;padding:15px 20px;width:500px;float:left}#yikes-mc-subscriber-card-wrapper .subscriber-optin-ip{display:inline-block;margin:1em 0 0 0;font-style:italic}.view-user-data-wrap #customer-tab-wrapper-list{float:left;background:#fefefe;margin-top:0;padding:12px;margin-left:-1px;border-right:1px solid #e5e5e5;border-top:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5}.view-user-data-wrap #customer-tab-wrapper-list .dashicons{font-size:23px;height:23px;width:23px;margin:3px 0}.view-user-data-wrap #customer-tab-wrapper-list li.inactive{color:rgba(51,51,51,.31);transition:color ease-out .1s}.view-user-data-wrap #customer-tab-wrapper-list li.active,.view-user-data-wrap #customer-tab-wrapper-list li.inactive:hover{color:rgba(51,51,51,1)}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top .member-star-rating-container,#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top h2,#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top img{float:left}#yikes-mc-subscriber-card-wrapper #delete-mailchimp-subscriber{display:block;margin:0 auto}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top img{border-radius:3px}#yikes-mc-subscriber-card-wrapper .merge-variable-section li{display:inline-block;list-style:none;float:left;width:50%;min-height:65px;border-bottom:1px dotted #ddd}#yikes-mc-subscriber-card-wrapper .merge-variable-section li p{margin:0 0 1em 0}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top h2{max-width:370px;width:75%;padding:0}#yikes-mc-subscriber-card-wrapper .member-star-rating-container{display:block;margin:.5em 0;margin-left:10px}#yikes-mc-subscriber-card-wrapper h2{margin-left:10px;margin-top:0;padding-top:0}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top{display:inline-block;width:100%}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-body{display:inline-block;width:100%}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-body h4{margin-top:0;margin-left:5px}.yikes-mc-subscriber-hr{margin:1.5em 0}.member-subscription-date{display:block;width:70%;max-width:370px;margin:.5em 0;margin-left:10px;float:left}.member-location-data{display:block;width:70%;max-width:370px;margin:.25em 0;margin-left:10px;float:left}.addon-required-link{color:#333;opacity:.5}.view-list-sidebar-input{color:#333}.interest-group-ul,.merge-variable-ul,.segment-ul{padding-left:15px;font-size:14px}.interest-group-ul li .dashicons,.merge-variable-ul li .dashicons{line-height:1.8;font-size:9px}a.button-primary.edit-fields-button{margin:0 0 10px 15px}.interest-group-count,.merge-variable-count,.segment-group-count{text-decoration:underline;margin-bottom:.75em;padding-left:7px}.interest-group-title{padding-left:5px}.edit-segments-button{margin:0 0 10px 15px}.edit-segment-description{padding:0 0 10px 15px}.list-page-mailchimp-logo{width:100%;display:block;margin:0 auto}.list-page-sidebar h2.account-status{text-align:center}.mailchimp-avatar{display:block;margin:0 auto;box-shadow:3px 3px 10px 0 rgba(214,214,214,.75)}.yikes-easy-mailchimp-custom-content-icon{font-size:15px;line-height:1}.custom-field-section{display:block;margin:1em 0}#associated-list{width:100%;margin-top:5px}#redirect-user-to-selection{width:100%}#edit-yikes-mc-form label h3{margin-left:0;padding-left:0}#available-fields .field-required{color:#d96060!important}body.admin_page_yikes-mailchimp-edit-form #poststuff h2{padding:8px 12px;margin-top:0}.edit-form-form-description{width:100%;resize:vertical;min-height:65px;max-height:100px}.edit-form-title{padding-left:12px!important}#edit-form-description{padding:0 12px;margin:1em 0}.yikes-easy-mc-postbox{overflow:hidden}.no-interest-groups-found-message{opacity:.35}#interest-groups-container .description,#merge-variables-container .description{padding-top:.5em}.inside-section-1{margin-top:0;margin-bottom:1.5em}.inside-section-2{margin-top:0;margin-bottom:2em}.form-field-container-span{display:block;margin:.5em 0}#style-list ul li{display:block;width:100%;margin:1em 0}.form-style-adjustment,.wp-picker-container{display:block!important;width:100%;margin:.5em 0}.dynamic-email-tag{display:inline-block;margin-right:5px}.dynamic-tag-description td{padding-top:0}#create-new-notification-button{margin-top:1em}.file-container{display:none}.yikes-mailchimp-file-field input[name*="custom-field[incentive-attachment]"]{margin-bottom:.5em}.yikes-mailchimp-file-field input[name*="custom-field[incentive-attachment]"]+.button-secondary{margin-left:4px}input#upload-btn[data-attr-position="1"]{margin-left:0}.remove-file-button{background:url(../partials/helpers/fields/img/icon-delete.png);height:16px;position:absolute;text-indent:-99999px;width:16px}a.add-new-incentive-attachment{display:block;width:40px;margin-right:100%!important;margin-top:.5em!important}a.add-new-incentive-attachment .dashicons{font-size:15px;line-height:1.8}.form-builder-placeholder{background:rgba(206,206,206,.2);height:30px}.admin_page_yikes-mailchimp-edit-form #form-settings .section-title{font-size:1em;border-bottom:1px solid rgba(187,187,187,.29);display:block;width:100%;padding-bottom:6px;margin-bottom:.5em;margin-top:1.5em}.admin_page_yikes-mailchimp-edit-form #form-settings .section-title.first{margin-top:0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior{display:inline-block;width:100%;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;background:rgba(241,241,241,.75);padding:1em}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior label{margin-top:0}label.login-restriction-center{display:block;width:100%}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restriction-section{display:inline-block}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restriction-section p.description.error{color:#f56060}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restriction-section label{float:left;margin-right:.5em;margin-top:0;margin-bottom:0;display:inline-block}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child .yikes-easy-mc-form-restriction-expired-message,.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child .yikes-easy-mc-form-restriction-login-message,.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child .yikes-easy-mc-form-restriction-pending-message{display:block;width:100%;min-height:50px}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child{float:left;padding-left:2%;width:98%;border-left:1px dashed #bdbdbd;border-spacing:2px;margin:.5em 0 1em 0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child .yikes-easy-mc-submit-button-text{margin:0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restriction-section{margin-bottom:0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restriction-section.last{margin-bottom:.75em}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child.hidden{display:none}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .description+label{margin-top:1em;float:left;width:100%}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior label.inline-form-label{margin-bottom:0;margin-top:0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .description{display:block;width:100%;float:left}.admin_page_yikes-mailchimp-edit-form #form-settings .nested-child strong:first-child,.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior strong:first-child{display:block;width:100%}.admin_page_yikes-mailchimp-edit-form #form-settings .inline-form-label{float:left;margin-right:10px}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-wrapper{overflow-y:auto;height:150px;width:170px;background:#fff;border:1px solid #ddd;box-shadow:0 5px 10px rgba(0,0,0,.2);outline:0;z-index:10001;margin:0}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-wrapper.ui-timepicker-with-duration{width:13em}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-wrapper.ui-timepicker-with-duration.ui-timepicker-step-30,body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-wrapper.ui-timepicker-with-duration.ui-timepicker-step-60{width:11em}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list{margin:0;padding:0;list-style:none}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-duration{margin-left:5px;color:#888}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list:hover .ui-timepicker-duration{color:#888}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li{padding:3px 0 3px 5px;cursor:pointer;white-space:nowrap;color:#000;list-style:none;margin:0}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list:hover .ui-timepicker-selected{background:#fff;color:#000}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list .ui-timepicker-selected:hover,body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li:hover,body.admin_page_yikes-mailchimp-edit-form li.ui-timepicker-selected{background:#1980ec;color:#fff}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li:hover .ui-timepicker-duration,body.admin_page_yikes-mailchimp-edit-form li.ui-timepicker-selected .ui-timepicker-duration{color:#ccc}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li.ui-timepicker-disabled,body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li.ui-timepicker-disabled:hover,body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled{color:#888;cursor:default}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li.ui-timepicker-disabled:hover,body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled{background:#f2f2f2}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker{background-color:#fff;border:1px solid #66afe9;border-radius:4px;box-shadow:0 0 8px rgba(102,175,233,.6);display:none;margin-top:4px;padding:10px;width:240px}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker a,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker a:hover{text-decoration:none}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker a:hover,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker td:hover a{color:#2a6496;transition:color .1s ease-in-out}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-header{margin-bottom:4px;text-align:center}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-title{font-weight:700}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-next,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-prev{cursor:default;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;height:20px;line-height:1;margin-top:2px;width:30px}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-prev{float:left;text-align:left}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-next{float:right;text-align:right}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-prev:before{content:"\f141";font-family:dashicons}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-next:before{content:"\f139";font-family:dashicons}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker-next:hover,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker-prev:hover{cursor:pointer!important}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker-close{display:none}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker-current{color:#555!important;border-color:#ccc!important;background:#f7f7f7!important;box-shadow:0 1px 0 #ccc!important;vertical-align:top!important;display:inline-block;text-decoration:none;font-size:13px;line-height:26px;height:28px;padding:0 10px 1px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;margin-top:10px}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-icon{display:none}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar{table-layout:fixed;width:100%}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar td,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar th{text-align:center;padding:4px 0}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar td{border-radius:4px;transition:background-color .1s ease-in-out,color .1s ease-in-out}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar td:hover{background-color:#ebebeb;cursor:pointer}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar td a{text-decoration:none}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-today{background-color:rgba(66,137,204,.65)}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-today a{color:#fff}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-current-day{background-color:#4289cc}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-current-day a{color:#fff}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar .ui-datepicker-unselectable:hover{background-color:#fff;cursor:default}.custom-radio-holder{display:inline-block;width:100%;margin:.5em 0}.custom-radio-label{display:block;float:left;margin:0 5px}.custom-radio-label:first-child{margin-left:0!important}.custom-radio-label input[type=radio]{margin-right:0!important}.custom-select-field{display:block;width:100%;margin:.5em 0}#available-widgets [class*=yikes_easy] .widget-title:before{content:""!important;background:url(../../includes/images/MailChimp_Assets/Freddie_original.png) no-repeat #fafafa;background-size:contain}body.wp-customizer #available-widgets [id*="_yikes_easy_mc_widget"]>div.widget-top>div.widget-title>h4{background:0 0!important}#connection-container{float:right;color:#fff;padding:.25em .75em .25em .25em;margin-top:-4px}#connection-container.api-connected{background:#44ba44}#connection-container.api-not-connected{background:#b5b5b5}.yikes-mc-api-connected,.yikes-mc-api-not-connected{line-height:1}.show-some-love-container{transition:max-height .75s}#review-yikes-easy-mc{text-align:center}#review-yikes-easy-mc .dashicons-star-filled{color:#e6b800}.meta-box-sortables hr{margin:1.75em 0 0 0}#about-yikes-inc{display:none}#about-yikes-inc .about-sidebar-yikes-logo{float:left;width:95px;margin:5px 7px 0 0}#about-yikes-inc p{margin-top:0}.yikes-easy-mc-updated{display:block;border-left:4px solid #4eaef0;margin:0 20px 2px 0;margin-top:1em;margin-bottom:1em;padding:2px 10px;background:#fff;background-size:120px;background-position:right bottom;background-repeat:no-repeat;background-position-y:29px}@media screen and (max-width:1200px){.yikes-easy-mc-postbox #post-body.columns-2 #postbox-container-1{float:none}}@media screen and (max-width:850px){.option-menu-selected-arrow{display:none!important}}@media screen and (max-width:782px){#chimp-chatter .chimp-chatter-container{float:none;height:auto;width:100%}}.recaptcha-demo-gif{width:275px}.pro-version-only-notice{color:#d96060}.upgrading-ellipse-one{-moz-opacity:0;-khtml-opacity:0;opacity:0;-webkit-animation:dot 1.3s infinite;-webkit-animation-delay:0ms;animation:dot 1.3s infinite;animation-delay:0ms}.upgrading-ellipse-two{-moz-opacity:0;-khtml-opacity:0;opacity:0;-webkit-animation:dot 1.3s infinite;-webkit-animation-delay:.2s;animation:dot 1.3s infinite;animation-delay:.2s}.upgrading-ellipse-three{-moz-opacity:0;-khtml-opacity:0;opacity:0;-webkit-animation:dot 1.3s infinite;-webkit-animation-delay:.3s;animation:dot 1.3s infinite;animation-delay:.3s}.yikes-mc-edit-field-label-icon{display:inline}.yikes-mc-edit-field-label-input{display:none;width:auto;border-radius:5px}.yikes-mc-save-field-label-edits-icon{display:none}.yikes-mc-edit-field-label-message{display:none;color:#f56060;margin-left:26px}@keyframes dot{0%{opacity:0}50%{opacity:0}100%{opacity:1}}
1
+ .yikes-easy-mc-hidden{display:none}.shortcode-input-field{color:#333;background:rgba(216,216,216,.35)!important}.edit-form-field-container-span{display:block;margin:.5em 0}.no-forms-widget{margin:2em 0}.view-ad-link{display:block;margin:0 auto}.no-forms-found-icon{font-size:14px;line-height:1.4;width:14px;color:#e07d7d}.coming-soon-button{position:absolute}.coming-soon-button .dashicons{font-size:14px;line-height:1.8}.add-ons-about-text{margin-top:0}#add-ons{margin:3em 0}.addon-image{display:block;text-align:center}.no-mailchimp-lists-found{padding:25px 0 25px 25px}.add-new-subscriber-button{display:block;margin-top:2em}.add-new-subscriber-form-container{display:none;padding-top:1em}.add-new-subscriber-form-container h4{margin-top:0}#migration-buttons{display:inline-block;margin-bottom:.5em}#migration-buttons form:first-child{margin-right:10px}#migration-buttons form{float:left}#yikes_easy_mc_list_stats_widget h3 span{background:url( '../../includes/images/MailChimp_Assets/Freddie_original.png' ) no-repeat scroll 8px 4px/25px auto;background-size:25px;display:block;height:30px;padding-left:3em;padding-top:5px}#yikes_easy_mc_list_stats_widget h3{padding:0;line-height:1.6em}#yikes-easy-mc-dashboard-widget-stats h3{text-align:center}#yikes_easy_mc_list_stats_widget .inside{padding:0}.yikes-easy-mc-stats-table{margin-top:1em}.yikes-easy-mc-stats-table,.yikes-easy-mc-stats-table .yikes-easy-mc-table-stats-tr,.yikes-easy-mc-stats-table tbody{display:block;width:100%}.yikes-easy-mc-table-stats-tr td{display:inline-block;width:48%;text-align:center}.yikes-easy-mc-table-stats-tr td:hover{cursor:pointer}.yikes-easy-mc-table-stats-tr td:first-of-type{border-right:1px solid #ececec}.yikes-easy-mc-stats-table .yikes-easy-mc-table-stats-tr-first{border-bottom:1px solid #ececec;border-top:1px solid #ececec}#yikes-easy-mc-widget-stat-holder{margin-top:1em}.yikes-easy-mc-stats-table p.yikes-easy-mc-dashboard-stat{color:#00a0d2;font-weight:800;font-size:20px;margin-bottom:2px;margin-top:15px;line-height:1.2;max-height:80px}.yikes-easy-mc-stats-table p.yikes-easy-mc-stat-list-label{font-size:13px;margin-top:0;margin-bottom:15px;font-family:"Open Sans"}#pre-defined-tag-interior-container{background:url(../../includes/images/tinyMCE/yikes-mailchimp-combo-faded.png) bottom right no-repeat #fff;background-size:40%}.qtip-default{background-color:transparent!important;border:transparent!important;z-index:9999999!important}.qtip-bootstrap{padding:10px!important;z-index:9999999!important;font-size:12px}.search-interest-group-preloader{display:block;margin:8px 0 0 55px;width:12px}.no-interest-groupings-enabled-message{display:block;margin-top:12px!important;width:100%}.tooltip-integration-banner{max-width:100%;margin:0 0 .25em 0}.tooltiptext.qtip-bootstrap{font-size:12px}.tooltip-title{margin:0}.dashicons-editor-help:hover{cursor:pointer}body.easy-forms_page_yikes-inc-easy-mailchimp-settings .interest-group-section{display:block;width:100%;margin:0 0 1.5em 0}body.easy-forms_page_yikes-inc-easy-mailchimp-settings .interest-group-section .interest-group-section-title{display:block;width:100%;margin:.5em 0 0}body.easy-forms_page_yikes-inc-easy-mailchimp-settings .interest-group-section input{margin-right:0}body.easy-forms_page_yikes-inc-easy-mailchimp-settings .interest-group-section label{margin-right:10px}i.mce-ico.mce-i-yks_mc_tinymce_button_key{background:url( '../../includes/images/tinyMCE/Freddie_wink.png');background-size:18px;background-position-y:1px;background-repeat:no-repeat}#yikes_mailchimp_tinyMCE_modal-title{padding-left:42px;background:transparent url(../../includes/images/MailChimp_Assets/Freddie_original.png);background-repeat:no-repeat;background-size:25px;background-position:left;background-position-x:10px}#yikes_mailchimp_tinyMCE_modal .mce-foot{border-top:none!important}#yikes_mailchimp_tinyMCE_modal{background:#fff url(../../includes/images/tinyMCE/yikes-mailchimp-combo-faded.png);background-position:bottom left;background-size:40%;background-position-x:10px;background-position-y:95%;background-repeat:no-repeat}#yikes_mailchimp_tinyMCE_modal .mce-foot{background:0 0}[id*="_yikes_easy_mc_widget"]>div.widget-top>div.widget-title>h4{background:#fafafa url(../../includes/images/MailChimp_Assets/Freddie_original.png) no-repeat scroll 2% 50%/25px auto;padding-left:40px}#review-yikes-easy-mailchimp-notice #yikes-mailchimp-logo{background:url(../../includes/images/Welcome_Page/yikes-mailchimp-welcome-logo.png) no-repeat;background-size:60px;float:left;font-size:14px;height:80px;text-align:center;width:80px}.need-support-icon{line-height:1.5}ul.support-option-list{display:inline-block;width:100%}.support-option{float:left}.support-option-second{margin-left:10px}#yikes-mailchimp-logo.support-page{float:left;width:80pt}#yikes-mailchimp-logo{height:132px;width:132px;font-size:14px;text-align:center;background:url(../../includes/images/Welcome_Page/yikes-mailchimp-welcome-logo.png) no-repeat}.yikes-easy-mc-feature-image.yikes-easy-mc-feature-v3-image{border:0;margin-left:100px!important;margin-right:100px;max-height:340px;width:auto}body.admin_page_yikes-mailchimp-edit-form div.show-some-love-container img,div.show-some-love-container img.customizer-upsell-banner{max-width:100%}body.admin_page_yikes-mailchimp-edit-form div.show-some-love-container p:first-child{font-style:italic}body.admin_page_yikes-mailchimp-edit-form div.show-some-love-container hr{margin:1em 0}body.admin_page_yikes-mailchimp-welcome .nav-tab-wrapper .nav-tab .dashicons{font-size:17px;line-height:1.5}#review-yikes-easy-mailchimp-notice .button-container{display:block;width:100%;margin:.75em 0 1.5em 0}#review-yikes-easy-mailchimp-notice .button-container .dashicons{font-size:14px;line-height:1.9;margin-left:-4px}#review-yikes-easy-mailchimp-notice .button-container .dashicons-star-filled{color:#e6b800}#review-yikes-easy-mailchimp-notice .button-container .dashicons-upload{color:#6e8841}#review-yikes-easy-mailchimp-notice .button-container .dashicons-no-alt{color:#dc3a3a;line-height:2}body.easy-mailchimp_page_yikes-inc-easy-mailchimp-settings .dashicons-no-alt{color:#dc3a3a}#review-yikes-easy-mailchimp-notice .button-container a{margin-right:10px}#review-yikes-easy-mailchimp-notice{border-left:4px solid #00a0d2;background:#fefefe;padding:1px 12px;padding-top:10px;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:15px 25px 20px 5px}input.readonly,input[readonly],textarea.readonly,textarea[readonly]{background:#d8d8d8}.dashicons.yikes-love{color:pink}.field-description-input{resize:vertical;max-height:100px}.yikes-easy-mc-postbox h3{background:#00a0d2;font-weight:800;color:#fff}.yikes-easy-mc-postbox h3.bg-transparent{color:#333;font-weight:400;background:0 0}.yikes-mc-warning-message{padding-left:15px;margin-top:0;padding-top:10px;color:#da6e6e}.error-message-container label[for=yikes-easy-mc-general-error-message],.error-message-container label[for=yikes-easy-mc-success-message],.error-message-container label[for=yikes-easy-mc-success-single-optin-message],.error-message-container label[for=yikes-easy-mc-update-email-failure],.error-message-container label[for=yikes-easy-mc-update-email-successful],.error-message-container label[for=yikes-easy-mc-user-email-body],.error-message-container label[for=yikes-easy-mc-user-email-subject],.error-message-container label[for=yikes-easy-mc-user-resubscribed-success-message],.error-message-container label[for=yikes-easy-mc-user-subscribed-message],.error-message-container label[for=yikes-easy-mc-user-subscribed-update-link]{padding:.5em 1em;background:rgba(241,241,241,.75);box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;margin:0}body.admin_page_yikes-mailchimp-edit-form #error-container{padding:2px 1em;background:rgba(241,241,241,.75);box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;margin:0;color:#f56060}.error-message-container label:last-child{padding-bottom:1em;margin-bottom:.5em}.error-message-container label,.form-settings-container label{display:block;margin:1em 0}.yikes-easy-forms-sidebar .yikes-mc-settings-expansion-section{padding:.5em .75em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.yikes-mc-settings-expansion-section{display:none;background:rgba(241,241,241,.75)}.yikes-mc-settings-expansion-section .form-table td{padding:10px 10px;vertical-align:top}.yikes-mc-settings-expansion-section .form-table td p.description{line-height:1;margin-top:2px}.expansion-section-title{background:#fff}.expansion-section-title.settings-sidebar,.form-builder-section-title{text-decoration:none;display:block;border:1px solid rgba(177,177,177,.71);color:#333;padding:5px;margin:.5em 0 0 0}.expansion-section-title.settings-sidebar .dashicons,.form-builder-section-title .dashicons{content:"\f132";font-family:dashicons;font-size:15px;line-height:1.5}span.easy-mailchimp-add-on-valid-license-container{color:#44ba44;display:block;margin-top:1em}.easy-mailchimp-add-on-invalid-license-container{color:rgba(227,107,107,.86);display:block;margin-top:1em}.options-sidebar .yikes-easy-mc-postbox{overflow:visible}.options-sidebar .inside{padding:0 20px 12px}.yikes-easy-mc-about-text{margin-top:0}.add-on-settings-divider{margin:1em 0!important}#yks-mailchimp-double-optin-message,#yks-mailchimp-single-optin-message,.settings-page-input{width:50%}#yks-mailchimp-double-optin-message,#yks-mailchimp-single-optin-message{min-height:75px;max-height:200px;resize:vertical}#addon-settings-nav li a,#settings-nav li a{color:#333;text-decoration:none!important;transition:color .15s ease-out;-moz-transition:color .15s ease-out;-webkit-transition:color .15s ease-out;-o-transition:color .15s ease-out}#addon-settings-nav li a:hover,#settings-nav li a:hover{color:#00a0d2!important}#addon-settings-nav{margin-bottom:0;margin-top:5px}.option-menu-selected-arrow{width:0;height:0;border-top:10px solid transparent;border-bottom:10px solid transparent;border-left:10px solid #a0a5aa;position:absolute;left:-.1em}.option-menu-selected-arrow+a{color:#00a0d2!important}label[for=yikes-mailchimp-debug-status]{display:inline-block;margin-bottom:1em;line-height:2.25}#yikes-mailchimp-debug-status{float:left;margin-top:.5em}label[for=yikes-mc-recaptcha-api-key],label[for=yikes-mc-recaptcha-setting]{display:block;margin-bottom:1em}input.recaptcha-setting-checkbox{display:inline-block;margin-top:.5em;vertical-align:bottom}.recaptcha-preview-link{display:block;margin-top:.5em}.recaptcha-preview-container{display:block;width:100%;display:none;margin:1em 0}.wrap #col-left,.wrap #col-right{width:49%}@media (max-width:800px){.wrap #col-left,.wrap #col-right{width:100%}}.support-page-logo{width:100%;opacity:.7;max-width:100%;display:block}.support-page-button{display:block;width:100%;min-height:40px;font-weight:700;text-align:center;line-height:3!important;margin-top:1em!important}.support-page-wordpress-font{font-size:1.3em;margin-right:13px}h2.premium-support-title{margin:1em 0 .5em 0}#premium-support-form{display:block;width:100%}#premium-support-form input[type=email],#premium-support-form input[type=submit],#premium-support-form input[type=text],#premium-support-form select{display:block;width:100%;min-width:200px;margin:.5em 0}#premium-support-form label{font-weight:800}#premium-support-form label input,#premium-support-form label select{font-weight:500}#premium-support-form p{font-weight:300;display:block;margin-bottom:1em}#wp-support-content-wrap{min-height:150px;width:100%}.support-form-hidden{display:none!important}#yikes-mailchimp-error-log .row-title{font-weight:400}.create-error-log-help:hover{cursor:pointer}.error-log-tr td{display:table;margin-bottom:1em;margin-top:.5em}p.error-log-missing-file em,p.to-start-logging-errors-notice em{margin:10px 0}.export-custom-forms-list{display:none;margin:1em 0 2em 0}.export-custom-forms-list p{margin-top:0}.list-rating-star{color:#e6b800}#import-list-to-site{margin-top:10px}#import-list-to-site .input-field{display:block;width:100%;margin-top:5px;margin-bottom:5px}#import-list-to-site .form-description{resize:vertical;max-height:65px}#import-list-to-site .description{margin-top:5px}input.clear-mailchimp-api-cache{float:right;margin-top:-33px!important}.yikes-list-refreshed-notice{border-left:4px solid #46b450;margin:5px 0}.yikes-list-refreshed-notice p{margin:1em 0 .5em 0;padding:6px 12px;background:rgba(241,241,241,.5);font-size:13px;line-height:1.5}.star-container{margin-top:5px;margin-bottom:1.5em}.star-container a{text-decoration:none}.star-container .dashicons-star-filled{font-size:1.75em}.sidebar-container{margin-top:5px;margin-bottom:1.5em}.sidebar-footer-text{margin:15px 0!important;text-align:center}.sidebar-twitter-icon{text-decoration:none;color:#55acee}.field-doesnt-exist-notice{position:absolute;margin-left:5px;width:18px}.field-type-text{display:inline-block;float:right;margin-right:.1em}.type-container{margin-top:0;margin:0}.form-field-container{margin-top:0;margin-bottom:0}.field-no-longer-exists-warning{position:absolute;margin-left:5px;width:18px}.form-field-container tr.yikes-checkbox-container input[type=checkbox]{float:left;margin:5px}.form-field-container tr.yikes-checkbox-container-first td{padding-top:12px!important}.form-field-container tr.yikes-checkbox-container td{padding:2px 12px}.form-field-container td input[type=checkbox]:first-child,.form-field-container td input[type=radio]:first-child{margin-left:0!important}.merge-tag-text{background:0 0;box-shadow:none;border:none}.pre-defined-tag-link{display:block;font-size:11px;margin-top:-2px}.toggle-container{font-size:small;float:right}#pre-defined-tag-container{display:none}#pre-defined-tag-container h3{margin-bottom:0}#pre-defined-tag-container .tooltop-tag .dashicons-editor-help{font-size:13px;line-height:1.5}.no-fields-assigned-notice{margin:4em 0 2.25em 0;padding-bottom:6em;width:100%;text-align:center;background:url( '../../includes/images/no-form-fields-assigned-arrow.jpg' ) no-repeat;background-position:bottom center;background-size:105px}.yikes-easy-mc-widget-preloader{position:absolute;left:48%;margin-top:-96px}.yikes-dashboard-widget-section{padding:0 12px 12px}.select-list-title{padding-left:0}.yikes-dashboard-widget-section .description{margin:.5em 0 0 0}. error-descripion{padding-top:.5em}.yikes-mc-freddie-logo{float:left;margin-right:10px}.mv_ig_list{width:100%;margin-bottom:8px!important;border:none!important;background:0 0!important}.mv_ig_list .list-container{position:absolute}.mv_ig_list a{width:48%;padding:5px 0!important;text-align:center;margin:0}.mv_ig_list a:first-child{margin-right:0}.mv_ig_list a:last-child{float:right}.mv_ig_list{margin-bottom:.5em}.mv_ig_list .nav-tab{border:1px solid #ccc}.mv_ig_list .nav-tab-active{color:#fff;font-weight:700;background:#00a0d2}.mv_ig_list .arrow-down{position:absolute;margin-top:21px;margin-left:50px;width:0;height:0;border-left:12px solid transparent;border-right:12px solid transparent;border-top:12px solid #00a0d2}#container-container{display:inline-block;width:540px}#container-container .list-container{float:left;width:254px;position:relative}#container-container .list-container:last-child{margin-left:2em}#yikes_easy_mc_toolbar{margin-top:-.75em}#yikes_easy_mc_toolbar_links{display:inline-block;width:100%;margin:0;padding:10px 0}#yikes_easy_mc_toolbar_links li{float:left;margin:0 .5em}#yikes_easy_mc_toolbar_links li a{text-decoration:none;display:inline-block}#yikes_easy_mc_toolbar_links li a:focus{box-shadow:none}#yikes_easy_mc_toolbar_links li a.selected_hidden_setting{color:#333;margin-bottom:3px}#yikes_easy_mc_toolbar_links li .selected_setting_triangle{width:0;height:0;border-left:13px solid transparent;border-right:13px solid transparent;border-top:13px solid rgba(206,206,206,1);margin:0 auto}#yikes_easy_mc_toolbar_links li a.form-builder:before{content:"\f116";font-family:dashicons}#yikes_easy_mc_toolbar_links li a.form-customizer:before{content:"\f100";font-family:dashicons}#yikes_easy_mc_toolbar_links li a.error-messages:before{content:"\f117";font-family:dashicons}#yikes_easy_mc_toolbar_links li a.form-settings:before{content:"\f111";font-family:dashicons}.integreation-checkbox-interest-groups-header{display:inline}.integration-checkbox-interest-groups-hr{margin-top:10px;margin-bottom:10px}#checkbox-settings-form .dashicons-editor-help{font-size:15px;line-height:1.6}.checkbox-settings-list-dropdown{display:block;width:250px}.no-lists-setup-notice{padding:.5em 0 .5em 0}.optin-checkbox-label-input{display:block;width:250px}.integration-checkbox-interest-groups{margin-bottom:10px}.integration-checkbox-interest-groups p,.integration-checkbox-interest-groups section{padding-left:25px}.yikes-mailchimp-checkbox-integration-list{color:#006799;display:inline-block;font-weight:600;margin-bottom:5px;padding:0 16px 8px 2px;vertical-align:top}.yikes-mailchimp-checkbox-integration-item{font-size:14px;font-weight:600;margin-bottom:10px}.yikes-mailchimp-checkbox-integration-list input[type=checkbox]{margin-right:0}label.optin-checkbox-label{display:block;margin:4px 0}label.optin-checkbox-label input.optin-checkbox-label-input,label.optin-checkbox-label select{display:inline-block}label.optin-checkbox-label select{margin-left:17px;width:auto}.yikes-form-id-number{width:55px}span[title="Conversion Rate"]:hover,span[title=Impressions]:hover,span[title=Submissions]:hover{display:block;cursor:pointer}.form-id-container{padding:1px 8px;border-radius:5px;background:#49a9ec;font-weight:700;color:#fff}.manage-form-admin-notice{margin-top:1.75em!important}.remove-notification,.yikes-mc-settings-expansion-section a.remove-field,a.yikes-delete-mailchimp-form,a.yikes-delete-subscriber{color:#d96060!important}.yikes-delete-mailchimp-form{margin-top:6px}#postbox-container-1 .yikes-delete-mailchimp-form{float:right}.form-buttons-container{display:block;padding:11px 10px}.forms-buttons-container input[type=submit]{margin:0 0 .5em 0}.update-form-spinner{position:absolute;left:0;right:0;margin:0 auto;bottom:13px}.yikes-mc-shortcode-input{text-align:center;width:100%;color:#333}.hidden-class{display:none!important}.stat-container{width:10%;max-width:75px}.no-current-subscriber-notice em,.no-mailchimp-forms-found em{padding:25px 0 25px 25px}.column-columnname span.stats{display:block;width:100%;text-align:center}.column-columnname span.stats span{display:inline-block;width:20%}.column-columnname span.stats span:hover{cursor:pointer}#available-fields li,#available-interest-groups li{text-decoration:none;display:block;border:1px solid rgba(177,177,177,.71);color:#333;padding:5px;margin:.5em 0}#available-fields li.not-available,#available-interest-groups li.not-available{opacity:.6!important}#available-fields li.field-to-add-to-form,#available-interest-groups li.group-to-add-to-form{background:rgba(46,162,204,.25)}.add-field-to-editor .add-to-form-builder-arrow,.button-secondary .add-to-form-builder-arrow{width:15px;font-size:15px;line-height:1.8}.clear-form-fields{background:#e14d43;border-color:#d02c21;color:#fff;box-shadow:inset 0 1px 0 #ec8b85,0 1px 0 rgba(0,0,0,.15);text-decoration:none;display:inline-block;height:28px;padding:0 10px 1px;border-width:1px;-webkit-appearance:none;border-radius:3px;white-space:nowrap;font-size:13px;line-height:26px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;float:right;margin:0 11px 10px 0}.clear-form-fields:active,.clear-form-fields:focus,.clear-form-fields:hover{background:#dd382d;border-color:#ba281e;color:#fff;box-shadow:inset 0 1px 0 #e8776f}.yikes-mc-view-list-breadcrumbs{padding:.8em;border:1px solid #d8d8d8;background:#ececec;margin:1.5em 0 .8em 0}.yikes-mc-member-rating-star{color:#daa520}#yikes-mc-subscriber-card-wrapper{background:#fefefe;min-height:200px;display:inline-block;box-shadow:0 1px 1px rgba(0,0,0,.04);webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #e5e5e5;padding:15px 20px;width:500px;float:left}#yikes-mc-subscriber-card-wrapper .subscriber-optin-ip{display:inline-block;margin:1em 0 0 0;font-style:italic}.view-user-data-wrap #customer-tab-wrapper-list{float:left;background:#fefefe;margin-top:0;padding:12px;margin-left:-1px;border-right:1px solid #e5e5e5;border-top:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5}.view-user-data-wrap #customer-tab-wrapper-list .dashicons{font-size:23px;height:23px;width:23px;margin:3px 0}.view-user-data-wrap #customer-tab-wrapper-list li.inactive{color:rgba(51,51,51,.31);transition:color ease-out .1s}.view-user-data-wrap #customer-tab-wrapper-list li.active,.view-user-data-wrap #customer-tab-wrapper-list li.inactive:hover{color:rgba(51,51,51,1)}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top .member-star-rating-container,#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top h2,#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top img{float:left}#yikes-mc-subscriber-card-wrapper #delete-mailchimp-subscriber{display:block;margin:0 auto}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top img{border-radius:3px}#yikes-mc-subscriber-card-wrapper .merge-variable-section li{display:inline-block;list-style:none;float:left;width:50%;min-height:65px;border-bottom:1px dotted #ddd}#yikes-mc-subscriber-card-wrapper .merge-variable-section li p{margin:0 0 1em 0}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top h2{max-width:370px;width:75%;padding:0}#yikes-mc-subscriber-card-wrapper .member-star-rating-container{display:block;margin:.5em 0;margin-left:10px}#yikes-mc-subscriber-card-wrapper h2{margin-left:10px;margin-top:0;padding-top:0}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top{display:inline-block;width:100%}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-body{display:inline-block;width:100%}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-body h4{margin-top:0;margin-left:5px}.yikes-mc-subscriber-hr{margin:1.5em 0}.member-subscription-date{display:block;width:70%;max-width:370px;margin:.5em 0;margin-left:10px;float:left}.member-location-data{display:block;width:70%;max-width:370px;margin:.25em 0;margin-left:10px;float:left}.addon-required-link{color:#333;opacity:.5}.view-list-sidebar-input{color:#333}.interest-group-ul,.merge-variable-ul,.segment-ul{padding-left:15px;font-size:14px}.interest-group-ul li .dashicons,.merge-variable-ul li .dashicons{line-height:1.8;font-size:9px}a.button-primary.edit-fields-button{margin:0 0 10px 15px}.interest-group-count,.merge-variable-count,.segment-group-count{text-decoration:underline;margin-bottom:.75em;padding-left:7px}.interest-group-title{padding-left:5px}.edit-segments-button{margin:0 0 10px 15px}.edit-segment-description{padding:0 0 10px 15px}.list-page-mailchimp-logo{width:100%;display:block;margin:0 auto}.list-page-sidebar h2.account-status{text-align:center}.mailchimp-avatar{display:block;margin:0 auto;box-shadow:3px 3px 10px 0 rgba(214,214,214,.75)}.yikes-easy-mailchimp-custom-content-icon{font-size:15px;line-height:1}.custom-field-section{display:block;margin:1em 0}#associated-list{width:100%;margin-top:5px}#redirect-user-to-selection{width:100%}#edit-yikes-mc-form label h3{margin-left:0;padding-left:0}#available-fields .field-required{color:#d96060!important}body.admin_page_yikes-mailchimp-edit-form #poststuff h2{padding:8px 12px;margin-top:0}.edit-form-form-description{width:100%;resize:vertical;min-height:65px;max-height:100px}.edit-form-title{padding-left:12px!important}#edit-form-description{padding:0 12px;margin:1em 0}.yikes-easy-mc-postbox{overflow:hidden}.no-interest-groups-found-message{opacity:.35}#interest-groups-container .description,#merge-variables-container .description{padding-top:.5em}.inside-section-1{margin-top:0;margin-bottom:1.5em}.inside-section-2{margin-top:0;margin-bottom:2em}.form-field-container-span{display:block;margin:.5em 0}#style-list ul li{display:block;width:100%;margin:1em 0}.form-style-adjustment,.wp-picker-container{display:block!important;width:100%;margin:.5em 0}.dynamic-email-tag{display:inline-block;margin-right:5px}.dynamic-tag-description td{padding-top:0}#create-new-notification-button{margin-top:1em}.file-container{display:none}.yikes-mailchimp-file-field input[name*="custom-field[incentive-attachment]"]{margin-bottom:.5em}.yikes-mailchimp-file-field input[name*="custom-field[incentive-attachment]"]+.button-secondary{margin-left:4px}input#upload-btn[data-attr-position="1"]{margin-left:0}.remove-file-button{background:url(../partials/helpers/fields/img/icon-delete.png);height:16px;position:absolute;text-indent:-99999px;width:16px}a.add-new-incentive-attachment{display:block;width:40px;margin-right:100%!important;margin-top:.5em!important}a.add-new-incentive-attachment .dashicons{font-size:15px;line-height:1.8}.form-builder-placeholder{background:rgba(206,206,206,.2);height:30px}.admin_page_yikes-mailchimp-edit-form #form-settings .section-title{font-size:1em;border-bottom:1px solid rgba(187,187,187,.29);display:block;width:100%;padding-bottom:6px;margin-bottom:.5em;margin-top:1.5em}.admin_page_yikes-mailchimp-edit-form #form-settings .section-title.first{margin-top:0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior{display:inline-block;width:100%;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;background:rgba(241,241,241,.75);padding:1em}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior label{margin-top:0}label.login-restriction-center{display:block;width:100%}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restriction-section{display:inline-block}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restriction-section p.description.error{color:#f56060}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restriction-section label{float:left;margin-right:.5em;margin-top:0;margin-bottom:0;display:inline-block}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child .yikes-easy-mc-form-restriction-expired-message,.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child .yikes-easy-mc-form-restriction-login-message,.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child .yikes-easy-mc-form-restriction-pending-message{display:block;width:100%;min-height:50px}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child{float:left;padding-left:2%;width:98%;border-left:1px dashed #bdbdbd;border-spacing:2px;margin:.5em 0 1em 0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child .yikes-easy-mc-submit-button-text{margin:0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restriction-section{margin-bottom:0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restriction-section.last{margin-bottom:.75em}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child.hidden{display:none}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .description+label{margin-top:1em;float:left;width:100%}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior label.inline-form-label{margin-bottom:0;margin-top:0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .description{display:block;width:100%;float:left}.admin_page_yikes-mailchimp-edit-form #form-settings .nested-child strong:first-child,.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior strong:first-child{display:block;width:100%}.admin_page_yikes-mailchimp-edit-form #form-settings .inline-form-label{float:left;margin-right:10px}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-wrapper{overflow-y:auto;height:150px;width:170px;background:#fff;border:1px solid #ddd;box-shadow:0 5px 10px rgba(0,0,0,.2);outline:0;z-index:10001;margin:0}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-wrapper.ui-timepicker-with-duration{width:13em}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-wrapper.ui-timepicker-with-duration.ui-timepicker-step-30,body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-wrapper.ui-timepicker-with-duration.ui-timepicker-step-60{width:11em}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list{margin:0;padding:0;list-style:none}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-duration{margin-left:5px;color:#888}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list:hover .ui-timepicker-duration{color:#888}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li{padding:3px 0 3px 5px;cursor:pointer;white-space:nowrap;color:#000;list-style:none;margin:0}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list:hover .ui-timepicker-selected{background:#fff;color:#000}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list .ui-timepicker-selected:hover,body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li:hover,body.admin_page_yikes-mailchimp-edit-form li.ui-timepicker-selected{background:#1980ec;color:#fff}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li:hover .ui-timepicker-duration,body.admin_page_yikes-mailchimp-edit-form li.ui-timepicker-selected .ui-timepicker-duration{color:#ccc}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li.ui-timepicker-disabled,body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li.ui-timepicker-disabled:hover,body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled{color:#888;cursor:default}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li.ui-timepicker-disabled:hover,body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled{background:#f2f2f2}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker{background-color:#fff;border:1px solid #66afe9;border-radius:4px;box-shadow:0 0 8px rgba(102,175,233,.6);display:none;margin-top:4px;padding:10px;width:240px}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker a,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker a:hover{text-decoration:none}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker a:hover,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker td:hover a{color:#2a6496;transition:color .1s ease-in-out}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-header{margin-bottom:4px;text-align:center}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-title{font-weight:700}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-next,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-prev{cursor:default;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;height:20px;line-height:1;margin-top:2px;width:30px}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-prev{float:left;text-align:left}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-next{float:right;text-align:right}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-prev:before{content:"\f141";font-family:dashicons}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-next:before{content:"\f139";font-family:dashicons}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker-next:hover,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker-prev:hover{cursor:pointer!important}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker-close{display:none}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker-current{color:#555!important;border-color:#ccc!important;background:#f7f7f7!important;box-shadow:0 1px 0 #ccc!important;vertical-align:top!important;display:inline-block;text-decoration:none;font-size:13px;line-height:26px;height:28px;padding:0 10px 1px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;margin-top:10px}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-icon{display:none}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar{table-layout:fixed;width:100%}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar td,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar th{text-align:center;padding:4px 0}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar td{border-radius:4px;transition:background-color .1s ease-in-out,color .1s ease-in-out}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar td:hover{background-color:#ebebeb;cursor:pointer}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar td a{text-decoration:none}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-today{background-color:rgba(66,137,204,.65)}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-today a{color:#fff}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-current-day{background-color:#4289cc}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-current-day a{color:#fff}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar .ui-datepicker-unselectable:hover{background-color:#fff;cursor:default}.custom-radio-holder{display:inline-block;width:100%;margin:.5em 0}.custom-radio-label{display:block;float:left;margin:0 5px}.custom-radio-label:first-child{margin-left:0!important}.custom-radio-label input[type=radio]{margin-right:0!important}.custom-select-field{display:block;width:100%;margin:.5em 0}#available-widgets [class*=yikes_easy] .widget-title:before{content:""!important;background:url(../../includes/images/MailChimp_Assets/Freddie_original.png) no-repeat #fafafa;background-size:contain}body.wp-customizer #available-widgets [id*="_yikes_easy_mc_widget"]>div.widget-top>div.widget-title>h4{background:0 0!important}#connection-container{float:right;color:#fff;padding:.25em .75em .25em .25em;margin-top:-4px}#connection-container.api-connected{background:#44ba44}#connection-container.api-not-connected{background:#b5b5b5}.yikes-mc-api-connected,.yikes-mc-api-not-connected{line-height:1}.show-some-love-container{transition:max-height .75s}#review-yikes-easy-mc{text-align:center}#review-yikes-easy-mc .dashicons-star-filled{color:#e6b800}.meta-box-sortables hr{margin:1.75em 0 0 0}#about-yikes-inc{display:none}#about-yikes-inc .about-sidebar-yikes-logo{float:left;width:95px;margin:5px 7px 0 0}#about-yikes-inc p{margin-top:0}.yikes-easy-mc-updated{display:block;border-left:4px solid #4eaef0;margin:0 20px 2px 0;margin-top:1em;margin-bottom:1em;padding:2px 10px;background:#fff;background-size:120px;background-position:right bottom;background-repeat:no-repeat;background-position-y:29px}@media screen and (max-width:1200px){.yikes-easy-mc-postbox #post-body.columns-2 #postbox-container-1{float:none}}@media screen and (max-width:850px){.option-menu-selected-arrow{display:none!important}}@media screen and (max-width:782px){#chimp-chatter .chimp-chatter-container{float:none;height:auto;width:100%}}.recaptcha-demo-gif{width:275px}.pro-version-only-notice{color:#d96060}.upgrading-ellipse-one{-moz-opacity:0;-khtml-opacity:0;opacity:0;-webkit-animation:dot 1.3s infinite;-webkit-animation-delay:0ms;animation:dot 1.3s infinite;animation-delay:0ms}.upgrading-ellipse-two{-moz-opacity:0;-khtml-opacity:0;opacity:0;-webkit-animation:dot 1.3s infinite;-webkit-animation-delay:.2s;animation:dot 1.3s infinite;animation-delay:.2s}.upgrading-ellipse-three{-moz-opacity:0;-khtml-opacity:0;opacity:0;-webkit-animation:dot 1.3s infinite;-webkit-animation-delay:.3s;animation:dot 1.3s infinite;animation-delay:.3s}.yikes-mc-edit-field-label-icon{display:inline}.yikes-mc-edit-field-label-input{display:none;width:80%;border-radius:5px}.yikes-mc-save-field-label-edits-icon{display:none}.yikes-mc-edit-field-label-message{display:none;color:#f56060;margin-left:26px}@keyframes dot{0%{opacity:0}50%{opacity:0}100%{opacity:1}}
changelog.txt CHANGED
@@ -1,5 +1,11 @@
1
  == Changelog ==
2
 
 
 
 
 
 
 
3
  = 6.4.3 - May 21st, 2018 =
4
  * Fixed some issues with the readme
5
  * Fixed an issue with required radio button fields that had no default value; they will now be required.
1
  == Changelog ==
2
 
3
+ = 6.4.4 - July 24th, 2018 =
4
+ * Fixed an issue where the Update Profile Email would not send when the submitted email address contained capital letters.
5
+ * Users will now be redirected in accordance with their submission settings after the Update Profile Email is successfully sent.
6
+ * The max character length of a MERGE field's label is now 50 characters to match MailChimp's max length.
7
+ * The input field for editing a MERGE field's label has been increased.
8
+
9
  = 6.4.3 - May 21st, 2018 =
10
  * Fixed some issues with the readme
11
  * Fixed an issue with required radio button fields that had no default value; they will now be required.
public/classes/checkbox-integrations/class.bbpress_forms-checkbox.php CHANGED
@@ -48,7 +48,6 @@
48
  return $this->subscribe_user_integration( $user_data->user_email, $this->type , array(
49
  'FNAME' => $user_data->first_name,
50
  'LNAME' => $user_data->last_name,
51
- 'NAE' => $user_data->first_name,
52
  ) );
53
  }
54
 
48
  return $this->subscribe_user_integration( $user_data->user_email, $this->type , array(
49
  'FNAME' => $user_data->first_name,
50
  'LNAME' => $user_data->last_name,
 
51
  ) );
52
  }
53
 
public/classes/process/class.process_form_submission_handler.php CHANGED
@@ -22,15 +22,6 @@ class Yikes_Inc_Easy_MailChimp_Extender_Process_Submission_Handler {
22
  */
23
  protected $skipped_form_fields;
24
 
25
- /**
26
- * The default time in milliseconds to wait before redirecting a user
27
- *
28
- * @since 6.3.0
29
- * @access protected
30
- * @var int | $default_redirect_time_ms
31
- */
32
- protected $default_redirect_time_ms;
33
-
34
  /**** Form Variables ****/
35
 
36
  /**
@@ -250,7 +241,6 @@ class Yikes_Inc_Easy_MailChimp_Extender_Process_Submission_Handler {
250
  'yikes_easy_mc_new_subscriber' => 1,
251
  '_wp_http_referer' => 1,
252
  );
253
- $this->default_redirect_time_ms = 1500;
254
 
255
  // Define our error messages
256
  $this->handle_empty_form_id_message = __( 'Error: We were unable to find the form ID.', 'yikes-inc-easy-mailchimp-extender' );
@@ -330,10 +320,10 @@ class Yikes_Inc_Easy_MailChimp_Extender_Process_Submission_Handler {
330
  * @since 6.3.0
331
  *
332
  * @param string | $email | The user's email
333
- * @return string| $email | The user's email, sanitized
334
  */
335
  public function get_sanitized_email( $email ) {
336
- return sanitize_email( $email );
337
  }
338
 
339
  /**
@@ -390,6 +380,11 @@ class Yikes_Inc_Easy_MailChimp_Extender_Process_Submission_Handler {
390
  $merge_variables[ $merge_tag ] = $sanitized;
391
  }
392
 
 
 
 
 
 
393
  /**
394
  * yikes-mailchimp-filter-before-submission || yikes-mailchimp-filter-before-submission-{$form_id}
395
  *
@@ -521,10 +516,13 @@ class Yikes_Inc_Easy_MailChimp_Extender_Process_Submission_Handler {
521
 
522
  // Loop through the interest groups and create a single array like {group_id} => false
523
  foreach ( $interest_groupings as $group_data ) {
 
524
  foreach ( $group_data['items'] as $item ) {
525
  $groups[$item['id']] = false;
526
  }
 
527
  }
 
528
  return $groups;
529
  } else {
530
 
@@ -603,7 +601,7 @@ class Yikes_Inc_Easy_MailChimp_Extender_Process_Submission_Handler {
603
  public function handle_submission_response_success( $submission_settings, $page_data, $merge_variables, $notifications, $optin_settings, $new_subscriber ) {
604
 
605
  // Check if we should redirect, and collect the redirect info in an array
606
- $redirect_array = $this->handle_submission_response_success_redirect( $submission_settings, $page_data );
607
 
608
  // Fire off our actions
609
 
@@ -719,72 +717,6 @@ class Yikes_Inc_Easy_MailChimp_Extender_Process_Submission_Handler {
719
  return $this->yikes_fail( $hide = 0, $subscribe_response->get_error_code(), $error_message, $additional_response_fields, $return_response_non_ajax = true );
720
  }
721
 
722
- /**
723
- * Handle the redirect logic for successful submissions
724
- *
725
- * @since 6.3.0
726
- *
727
- * @param array | $submission_settings | Array of the form's submission settings
728
- * @param array | $page_data | Array of the page data
729
- * @return array| $redirect_array | Array with two values: Redirection flag, Redirect URL
730
- */
731
- protected function handle_submission_response_success_redirect( $submission_settings, $page_data ) {
732
-
733
- // Set up our return array with default values
734
- $redirect_array = array(
735
- 'redirection' => 0,
736
- 'redirect' => '',
737
- 'new_window' => false,
738
- 'redirect_timer' => 1500,
739
- );
740
-
741
- // Let's confirm we have a value before trying to use it
742
- $redirect_setting = isset( $submission_settings['redirect_on_submission'] ) ? $submission_settings['redirect_on_submission'] : false;
743
-
744
- // Check the redirect flag
745
- if ( '1' === $redirect_setting ) {
746
-
747
- // Supply return array with default value of 1
748
- $redirect_array['redirection'] = 1;
749
-
750
- // Let's confirm we have redirect_page/custom_redirect_url/new_window values
751
- $redirect_page_setting = isset( $submission_settings['redirect_page'] ) ? $submission_settings['redirect_page'] : false;
752
- $custom_redirect_setting = isset( $submission_settings['custom_redirect_url'] ) ? $submission_settings['custom_redirect_url'] : false;
753
- $redirect_new_window = isset( $submission_settings['redirect_new_window'] ) ? $submission_settings['redirect_new_window'] : false;
754
-
755
- $redirect_array['new_window'] = $redirect_new_window;
756
-
757
- // Check if we're redirecting to a custom_url or just the redirect_page
758
- $redirect_url = ( 'custom_url' !== $redirect_page_setting ) ? get_permalink( $redirect_page_setting ) : $custom_redirect_setting;
759
-
760
- /**
761
- * yikes-mailchimp-redirect-url
762
- *
763
- * Catch the redirect URL before it's shown to the user
764
- *
765
- * @param string | $redirect_url | The URL that we will redirect to
766
- * @param string | $form_id | The ID of the current form being subscribed to
767
- * @param array | $page_data | An array of data related to the page the form is on
768
- */
769
- $redirect_url = apply_filters( 'yikes-mailchimp-redirect-url', $redirect_url, $this->form_id, $page_data );
770
-
771
- /**
772
- * yikes-mailchimp-redirect-timer
773
- *
774
- * Catch the redirect timer before it's sent to the JavaScript file
775
- *
776
- * @param int | $default_redirect_time_ms | The default time (1500 milliseconds) to wait before redirecting
777
- */
778
- $redirect_timer = apply_filters( 'yikes-mailchimp-redirect-timer', $this->default_redirect_time_ms, $this->form_id );
779
-
780
- $redirect_array['redirect_timer'] = $redirect_timer;
781
-
782
- $redirect_array['redirect'] = $redirect_url;
783
- }
784
-
785
- return $redirect_array;
786
- }
787
-
788
 
789
  /**** Handle empty fields / Check for required form data / Handle checks for things like honeypot, nonce, etc. ****/
790
 
@@ -1414,4 +1346,74 @@ class Yikes_Inc_Easy_MailChimp_Extender_Process_Submission_Handler {
1414
  wp_send_json_error( $response_array );
1415
  }
1416
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1417
  }
22
  */
23
  protected $skipped_form_fields;
24
 
 
 
 
 
 
 
 
 
 
25
  /**** Form Variables ****/
26
 
27
  /**
241
  'yikes_easy_mc_new_subscriber' => 1,
242
  '_wp_http_referer' => 1,
243
  );
 
244
 
245
  // Define our error messages
246
  $this->handle_empty_form_id_message = __( 'Error: We were unable to find the form ID.', 'yikes-inc-easy-mailchimp-extender' );
320
  * @since 6.3.0
321
  *
322
  * @param string | $email | The user's email
323
+ * @return string| $email | The user's email, lowercased and sanitized
324
  */
325
  public function get_sanitized_email( $email ) {
326
+ return sanitize_email( strtolower( $email ) );
327
  }
328
 
329
  /**
380
  $merge_variables[ $merge_tag ] = $sanitized;
381
  }
382
 
383
+ // Do not send the email field twice
384
+ if ( isset( $merge_variables['EMAIL'] ) ) {
385
+ unset( $merge_variables['EMAIL'] );
386
+ }
387
+
388
  /**
389
  * yikes-mailchimp-filter-before-submission || yikes-mailchimp-filter-before-submission-{$form_id}
390
  *
516
 
517
  // Loop through the interest groups and create a single array like {group_id} => false
518
  foreach ( $interest_groupings as $group_data ) {
519
+
520
  foreach ( $group_data['items'] as $item ) {
521
  $groups[$item['id']] = false;
522
  }
523
+
524
  }
525
+
526
  return $groups;
527
  } else {
528
 
601
  public function handle_submission_response_success( $submission_settings, $page_data, $merge_variables, $notifications, $optin_settings, $new_subscriber ) {
602
 
603
  // Check if we should redirect, and collect the redirect info in an array
604
+ $redirect_array = Yikes_Inc_Easy_MailChimp_Extender_Process_Submission_Handler::handle_submission_response_success_redirect( $this->form_id, $submission_settings, $page_data );
605
 
606
  // Fire off our actions
607
 
717
  return $this->yikes_fail( $hide = 0, $subscribe_response->get_error_code(), $error_message, $additional_response_fields, $return_response_non_ajax = true );
718
  }
719
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
720
 
721
  /**** Handle empty fields / Check for required form data / Handle checks for things like honeypot, nonce, etc. ****/
722
 
1346
  wp_send_json_error( $response_array );
1347
  }
1348
 
1349
+ /** Static functions used in other places **/
1350
+
1351
+ /**
1352
+ * Handle the redirect logic for successful submissions
1353
+ *
1354
+ * @since 6.3.0
1355
+ *
1356
+ * @param array | $submission_settings | Array of the form's submission settings
1357
+ * @param array | $page_data | Page ID
1358
+ * @return array| $redirect_array | Array with two values: Redirection flag, Redirect URL
1359
+ */
1360
+ public static function handle_submission_response_success_redirect( $form_id, $submission_settings, $page_data ) {
1361
+
1362
+ $default_redirect_time_ms = 1500;
1363
+
1364
+ // Set up our return array with default values
1365
+ $redirect_array = array(
1366
+ 'redirection' => 0,
1367
+ 'redirect' => '',
1368
+ 'new_window' => false,
1369
+ 'redirect_timer' => $default_redirect_time_ms,
1370
+ );
1371
+
1372
+ // Let's confirm we have a value before trying to use it
1373
+ $redirect_setting = isset( $submission_settings['redirect_on_submission'] ) ? $submission_settings['redirect_on_submission'] : false;
1374
+
1375
+ // Check the redirect flag
1376
+ if ( '1' === $redirect_setting ) {
1377
+
1378
+ // Supply return array with default value of 1
1379
+ $redirect_array['redirection'] = 1;
1380
+
1381
+ // Let's confirm we have redirect_page/custom_redirect_url/new_window values
1382
+ $redirect_page_setting = isset( $submission_settings['redirect_page'] ) ? $submission_settings['redirect_page'] : false;
1383
+ $custom_redirect_setting = isset( $submission_settings['custom_redirect_url'] ) ? $submission_settings['custom_redirect_url'] : false;
1384
+ $redirect_new_window = isset( $submission_settings['redirect_new_window'] ) ? $submission_settings['redirect_new_window'] : false;
1385
+
1386
+ $redirect_array['new_window'] = $redirect_new_window;
1387
+
1388
+ // Check if we're redirecting to a custom_url or just the redirect_page
1389
+ $redirect_url = ( 'custom_url' !== $redirect_page_setting ) ? get_permalink( $redirect_page_setting ) : $custom_redirect_setting;
1390
+
1391
+ /**
1392
+ * yikes-mailchimp-redirect-url
1393
+ *
1394
+ * Catch the redirect URL before it's shown to the user
1395
+ *
1396
+ * @param string | $redirect_url | The URL that we will redirect to
1397
+ * @param string | $form_id | The ID of the current form being subscribed to
1398
+ * @param array | $page_data | An array of data related to the page the form is on
1399
+ */
1400
+ $redirect_url = apply_filters( 'yikes-mailchimp-redirect-url', $redirect_url, $form_id, $page_data );
1401
+
1402
+ /**
1403
+ * yikes-mailchimp-redirect-timer
1404
+ *
1405
+ * Catch the redirect timer before it's sent to the JavaScript file
1406
+ *
1407
+ * @param int | $default_redirect_time_ms | The default time (1500 milliseconds) to wait before redirecting
1408
+ */
1409
+ $redirect_timer = apply_filters( 'yikes-mailchimp-redirect-timer', $default_redirect_time_ms, $form_id );
1410
+
1411
+ $redirect_array['redirect_timer'] = $redirect_timer;
1412
+
1413
+ $redirect_array['redirect'] = $redirect_url;
1414
+ }
1415
+
1416
+ return $redirect_array;
1417
+ }
1418
+
1419
  }
public/js/form-submission-helpers.js CHANGED
@@ -20,15 +20,22 @@ jQuery( document ).ready( function() {
20
 
21
  /* Submit an ajax request to send off the update email */
22
  var data = {
23
- 'action': 'easy_forms_send_email',
24
  'user_email': jQuery( this ).attr( 'data-user-email' ),
25
- 'list_id': jQuery( this ).attr( 'data-list-id' ),
26
- 'form_id': jQuery( this ).attr( 'data-form-id' ),
 
27
  };
28
  jQuery( this ).parent( 'p' ).fadeTo( 'fast', .75 ).append( '<img src="' + form_submission_helpers.preloader_url + '" class="update-email-preloader" />' );
29
  jQuery.post( form_submission_helpers.ajax_url, data, function(response) {
30
  if( response.success ) {
31
  jQuery( '.yikes-easy-mc-error-message' ).removeClass( 'yikes-easy-mc-error-message' ).addClass( 'yikes-easy-mc-success-message' ).html( response.data.response_text );
 
 
 
 
 
 
32
  } else {
33
  jQuery( '.yikes-easy-mc-error-message' ).fadeTo( 'fast', 1 ).html( response.data.response_text );
34
  }
@@ -41,6 +48,20 @@ jQuery( document ).ready( function() {
41
  jQuery( '.yikes-easy-mc-phone[data-phone-type="us"]' ).blur( yikes_mc_format_us_phone_number_field );
42
  });
43
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  /**
45
  * Show/Hide zip-address field based on the chosen country.
46
  *
20
 
21
  /* Submit an ajax request to send off the update email */
22
  var data = {
23
+ 'action' : 'easy_forms_send_email',
24
  'user_email': jQuery( this ).attr( 'data-user-email' ),
25
+ 'list_id' : jQuery( this ).attr( 'data-list-id' ),
26
+ 'form_id' : jQuery( this ).attr( 'data-form-id' ),
27
+ 'page_id' : form_submission_helpers.page_data,
28
  };
29
  jQuery( this ).parent( 'p' ).fadeTo( 'fast', .75 ).append( '<img src="' + form_submission_helpers.preloader_url + '" class="update-email-preloader" />' );
30
  jQuery.post( form_submission_helpers.ajax_url, data, function(response) {
31
  if( response.success ) {
32
  jQuery( '.yikes-easy-mc-error-message' ).removeClass( 'yikes-easy-mc-error-message' ).addClass( 'yikes-easy-mc-success-message' ).html( response.data.response_text );
33
+
34
+ // Check for a form redirect...
35
+ if ( response.data.redirection === 1 ) {
36
+ yikes_mc_redirect_after_submission( response.data.redirect, response.data.redirect_timer, response.data.new_window );
37
+ }
38
+
39
  } else {
40
  jQuery( '.yikes-easy-mc-error-message' ).fadeTo( 'fast', 1 ).html( response.data.response_text );
41
  }
48
  jQuery( '.yikes-easy-mc-phone[data-phone-type="us"]' ).blur( yikes_mc_format_us_phone_number_field );
49
  });
50
 
51
+ /**
52
+ * Redirect to the specified URL.
53
+ */
54
+ function yikes_mc_redirect_after_submission( redirect_url, redirect_timer, new_window ) {
55
+ var new_window_code = new_window === '1' ? '_blank' : '_self';
56
+
57
+ setTimeout(
58
+ function() {
59
+ window.open( redirect_url, new_window_code );
60
+ },
61
+ redirect_timer
62
+ );
63
+ }
64
+
65
  /**
66
  * Show/Hide zip-address field based on the chosen country.
67
  *
public/js/form-submission-helpers.min.js CHANGED
@@ -1 +1 @@
1
- function yikes_mc_toggle_zip_field_visibility(e,t){void 0!==form_submission_helpers.countries_with_zip[t]?jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="zip-input"]')).fadeIn():jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="zip-input"]')).fadeOut()}function yikes_mc_toggle_state_field_visibility(e,t){!0===yikes_mc_does_country_have_states(e,t)?jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="state-dropdown"]')).fadeIn():jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="state-dropdown"]')).fadeOut()}function yikes_mc_toggle_state_fields_dropdown(e,t){jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="state-dropdown"]')).children("select").children("option").each(function(){jQuery(this).data("country")===t?jQuery(this).show():jQuery(this).hide()})}function yikes_mc_does_country_have_states(e,t){var a=!1;return jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="state-dropdown"]')).children("select").children("option").each(function(){if(jQuery(this).data("country")===t)return!(a=!0)}),a}function yikes_mc_format_url_field(){var e=jQuery(this).val();"number"==typeof e.length&&0<e.length&&-1===e.indexOf("http://")&&-1===e.indexOf("https://")&&jQuery(this).val("http://"+e)}function yikes_mc_format_us_phone_number_field(){var e=this.value.replace(/\(|\)/g,"").replace(/-/g,"").trim();formatted_us_number=e.substring(0,10),formatted_us_number=formatted_us_number.replace(/(\d\d\d)(\d\d\d)(\d\d\d\d)/,"$1-$2-$3"),jQuery(this).val(formatted_us_number)}function renderReCaptchaCallback(){var t=1;jQuery(".g-recaptcha").each(function(){jQuery(this).attr("id","recaptcha-"+t);var e={sitekey:jQuery(this).data("sitekey"),type:jQuery(this).data("type"),theme:jQuery(this).data("theme"),size:jQuery(this).data("size"),callback:jQuery(this).data("callback"),"expired-callback":jQuery(this).data("expired-callback")};grecaptcha.render("recaptcha-"+t,e),t++})}jQuery(document).ready(function(){jQuery('select[data-country="true"]').change(function(){var e=jQuery(this).val();yikes_mc_toggle_state_fields_dropdown(this,e),yikes_mc_toggle_zip_field_visibility(this,e),yikes_mc_toggle_state_field_visibility(this,e)}),jQuery('select[data-country="true"]').trigger("change"),jQuery("body").on("click",".send-update-email",function(){var e={action:"easy_forms_send_email",user_email:jQuery(this).attr("data-user-email"),list_id:jQuery(this).attr("data-list-id"),form_id:jQuery(this).attr("data-form-id")};return jQuery(this).parent("p").fadeTo("fast",.75).append('<img src="'+form_submission_helpers.preloader_url+'" class="update-email-preloader" />'),jQuery.post(form_submission_helpers.ajax_url,e,function(e){e.success?jQuery(".yikes-easy-mc-error-message").removeClass("yikes-easy-mc-error-message").addClass("yikes-easy-mc-success-message").html(e.data.response_text):jQuery(".yikes-easy-mc-error-message").fadeTo("fast",1).html(e.data.response_text)}),!1}),jQuery(".yikes-easy-mc-url").blur(yikes_mc_format_url_field),jQuery('.yikes-easy-mc-phone[data-phone-type="us"]').blur(yikes_mc_format_us_phone_number_field)});
1
+ function yikes_mc_redirect_after_submission(e,t,a){var i="1"===a?"_blank":"_self";setTimeout(function(){window.open(e,i)},t)}function yikes_mc_toggle_zip_field_visibility(e,t){void 0!==form_submission_helpers.countries_with_zip[t]?jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="zip-input"]')).fadeIn():jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="zip-input"]')).fadeOut()}function yikes_mc_toggle_state_field_visibility(e,t){!0===yikes_mc_does_country_have_states(e,t)?jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="state-dropdown"]')).fadeIn():jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="state-dropdown"]')).fadeOut()}function yikes_mc_toggle_state_fields_dropdown(e,t){jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="state-dropdown"]')).children("select").children("option").each(function(){jQuery(this).data("country")===t?jQuery(this).show():jQuery(this).hide()})}function yikes_mc_does_country_have_states(e,t){var a=!1;return jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="state-dropdown"]')).children("select").children("option").each(function(){if(jQuery(this).data("country")===t)return!(a=!0)}),a}function yikes_mc_format_url_field(){var e=jQuery(this).val();"number"==typeof e.length&&0<e.length&&-1===e.indexOf("http://")&&-1===e.indexOf("https://")&&jQuery(this).val("http://"+e)}function yikes_mc_format_us_phone_number_field(){var e=this.value.replace(/\(|\)/g,"").replace(/-/g,"").trim();formatted_us_number=e.substring(0,10),formatted_us_number=formatted_us_number.replace(/(\d\d\d)(\d\d\d)(\d\d\d\d)/,"$1-$2-$3"),jQuery(this).val(formatted_us_number)}function renderReCaptchaCallback(){var t=1;jQuery(".g-recaptcha").each(function(){jQuery(this).attr("id","recaptcha-"+t);var e={sitekey:jQuery(this).data("sitekey"),type:jQuery(this).data("type"),theme:jQuery(this).data("theme"),size:jQuery(this).data("size"),callback:jQuery(this).data("callback"),"expired-callback":jQuery(this).data("expired-callback")};grecaptcha.render("recaptcha-"+t,e),t++})}jQuery(document).ready(function(){jQuery('select[data-country="true"]').change(function(){var e=jQuery(this).val();yikes_mc_toggle_state_fields_dropdown(this,e),yikes_mc_toggle_zip_field_visibility(this,e),yikes_mc_toggle_state_field_visibility(this,e)}),jQuery('select[data-country="true"]').trigger("change"),jQuery("body").on("click",".send-update-email",function(){var e={action:"easy_forms_send_email",user_email:jQuery(this).attr("data-user-email"),list_id:jQuery(this).attr("data-list-id"),form_id:jQuery(this).attr("data-form-id"),page_id:form_submission_helpers.page_data};return jQuery(this).parent("p").fadeTo("fast",.75).append('<img src="'+form_submission_helpers.preloader_url+'" class="update-email-preloader" />'),jQuery.post(form_submission_helpers.ajax_url,e,function(e){e.success?(jQuery(".yikes-easy-mc-error-message").removeClass("yikes-easy-mc-error-message").addClass("yikes-easy-mc-success-message").html(e.data.response_text),1===e.data.redirection&&yikes_mc_redirect_after_submission(e.data.redirect,e.data.redirect_timer,e.data.new_window)):jQuery(".yikes-easy-mc-error-message").fadeTo("fast",1).html(e.data.response_text)}),!1}),jQuery(".yikes-easy-mc-url").blur(yikes_mc_format_url_field),jQuery('.yikes-easy-mc-phone[data-phone-type="us"]').blur(yikes_mc_format_us_phone_number_field)});
public/js/yikes-mc-ajax-forms.js CHANGED
@@ -148,20 +148,10 @@ window.Yikes_Mailchimp_Ajax = window.Yikes_Mailchimp_Ajax || {};
148
  $( '.yikes-mailchimp-required-interest-group-error' ).remove();
149
 
150
  /* redirect if setup */
151
- if( response.redirection === 1 ) {
152
-
153
- var redirect_url = response.redirect;
154
- var redirect_timer = response.redirect_timer;
155
- var new_window = response.new_window;
156
- var new_window_code = new_window === '1' ? '_blank' : '_self';
157
-
158
- setTimeout(
159
- function() {
160
- window.open( redirect_url, new_window_code );
161
- },
162
- redirect_timer
163
- );
164
  }
 
165
  /* clear the inputs - but don't clear submit button, radio, select, list_id, or form */
166
  submitted_form.find( 'input' ).not( '.yikes-easy-mc-submit-button, input[type="radio"], input[type="select"], input[type="checkbox"], #yikes-mailchimp-associated-list-id, #yikes-mailchimp-submitted-form' ).val( '' );
167
  /* ajax to increase submission count by 1 */
148
  $( '.yikes-mailchimp-required-interest-group-error' ).remove();
149
 
150
  /* redirect if setup */
151
+ if ( response.redirection === 1 ) {
152
+ yikes_mc_redirect_after_submission( response.redirect, response.redirect_timer, response.new_window );
 
 
 
 
 
 
 
 
 
 
 
153
  }
154
+
155
  /* clear the inputs - but don't clear submit button, radio, select, list_id, or form */
156
  submitted_form.find( 'input' ).not( '.yikes-easy-mc-submit-button, input[type="radio"], input[type="select"], input[type="checkbox"], #yikes-mailchimp-associated-list-id, #yikes-mailchimp-submitted-form' ).val( '' );
157
  /* ajax to increase submission count by 1 */
public/js/yikes-mc-ajax-forms.min.js CHANGED
@@ -1 +1 @@
1
- window.Yikes_Mailchimp_Ajax=window.Yikes_Mailchimp_Ajax||{},function(e,i,s,r,a){"use strict";r.l10n=e.yikes_mailchimp_ajax||{},s(i).ready(function(){s("body").on("submit",".yikes-easy-mc-form",function(){var i=s(this);i.addClass("yikes-mc-submitted-form-loading"),i.find("input, label, button").not(":hidden").fadeTo("fast",.5),"string"==typeof r.l10n.preloader_url&&r.l10n.preloader_url.length>1&&i.append('<img src="'+r.l10n.preloader_url+'" class="yikes-mailchimp-preloader" />'),s(".yikes-mc-required-field-not-filled").removeClass("yikes-mc-required-field-not-filled"),s(".yikes-mailchimp-submit-button-span-text").hide(),"string"==typeof r.l10n.loading_dots&&r.l10n.loading_dots.length>1&&i.find(".yikes-easy-mc-submit-button").append('<img src="'+r.l10n.loading_dots+'" class="loading-dots yikes-mc-loading-dots" />');var a=i.attr("data-attr-form-id"),o=[];if(i.find(".yikes-interest-group-required").length>0&&i.find(".yikes-interest-group-required").each(function(){var e=jQuery(this).attr("name").replace("[]","");0==i.find('input[name="'+e+'[]"]:checked').length&&(o[e]=i.find("span."+e+"-label").text())}),o.length>0){if(i.find(".yikes-mailchimp-required-interest-group-error").length>0)i.find(".yikes-mailchimp-required-interest-group-error").fadeOut("fast",function(){i.find(".yikes-mailchimp-required-interest-group-error").remove();for(var e in o)i.find("span."+e+"-label").after('<p class="yikes-mailchimp-required-interest-group-error">'+r.l10n.interest_group_checkbox_error+"</p>")});else for(var n in o)i.find("span."+n+"-label").after('<p class="yikes-mailchimp-required-interest-group-error">'+r.l10n.interest_group_checkbox_error+"</p>");return i.find(".yikes-easy-mc-submit-button").removeAttr("disabled","disabled"),i.find("input, label, button").not(":hidden").fadeTo("fast",1),i.find(".yikes-mailchimp-preloader").remove(),s(".yikes-mc-loading-dots").remove(),s(".yikes-mailchimp-submit-button-span-text").show(),i.removeClass("yikes-mc-submitted-form-loading"),!1}i.find(".yikes-easy-mc-submit-button").attr("disabled","disabled"),s(".yikes-easy-mc-error-message").remove(),s(".yikes-easy-mc-success-message").remove();var t={action:"process_form_submission",form_data:i.serialize(),form_id:a,page_data:r.l10n.page_data,ajax_security_nonce:r.l10n.ajax_security_nonce};return s.ajax({url:r.l10n.ajax_url,type:"POST",data:t,success:function(o,n,t){if(i.find("input, label, button").not(":hidden").fadeTo("fast",1),i.find(".yikes-mailchimp-preloader").remove(),s(".yikes-mc-loading-dots").remove(),s(".yikes-mailchimp-submit-button-span-text").show(),i.removeClass("yikes-mc-submitted-form-loading"),o.success){if(o=o.data,"function"==typeof yikes_mailchimp_google_analytics_success&&yikes_mailchimp_google_analytics_success(o),1==o.hide&&(s(".yikes-easy-mc-form-description-"+a).length>0&&s(".yikes-easy-mc-form-description-"+a).hide(),i.hide()),s(".yikes-easy-mc-form-description-"+a).length>0?s(".yikes-easy-mc-form-description-"+a).before('<p class="yikes-easy-mc-success-message yikes-easy-mc-success-message-'+a+' yikes-easy-mc-hidden">'+o.response+"</p>"):i.before('<p class="yikes-easy-mc-success-message yikes-easy-mc-success-message-'+a+' yikes-easy-mc-hidden">'+o.response+"</p>"),s(".yikes-easy-mc-success-message-"+a).fadeIn(),s(".yikes-mailchimp-required-interest-group-error").remove(),1===o.redirection){var d=o.redirect,l=o.redirect_timer,c="1"===o.new_window?"_blank":"_self";setTimeout(function(){e.open(d,c)},l)}i.find("input").not('.yikes-easy-mc-submit-button, input[type="radio"], input[type="select"], input[type="checkbox"], #yikes-mailchimp-associated-list-id, #yikes-mailchimp-submitted-form').val("");var m={action:"increase_submission_count",form_id:a};s.ajax({url:r.l10n.ajax_url,type:"POST",data:m,success:function(e,i,s){},error:function(e,i,s){console.error(s)}})}else{if(o=o.data,"function"==typeof yikes_mailchimp_google_analytics_failure&&yikes_mailchimp_google_analytics_failure(o),s(".yikes-easy-mc-form-description-"+a).length>0)s(".yikes-easy-mc-form-description-"+a).before('<p class="yikes-easy-mc-error-message yikes-easy-mc-error-message-'+a+'" yikes-easy-mc-hidden"> '+o.response+"</p>");else{var u=void 0!==o&&void 0!==o.response?o.response:"Error collecting the API response.";i.before('<p class="yikes-easy-mc-error-message yikes-easy-mc-error-message-'+a+' yikes-easy-mc-hidden">'+u+"</p>")}if(void 0!==o&&void 0!==o.missing_required_field&&!0===o.missing_required_field&&void 0!==o.missing_required_field_data){var y=o.missing_required_field_data,p=void 0!==o.is_interest_group&&o.is_interest_group;_=p,void 0!==(f=y)&&s.each(f,function(e,i){!0===_?s("span."+e+"-label").length>0?s("span."+e+"-label").addClass("yikes-mc-required-field-not-filled"):s("."+e+"-label").addClass("yikes-mc-required-field-not-filled"):s('label[for="'+e+'"]').children("input").addClass("yikes-mc-required-field-not-filled")})}s(".yikes-easy-mc-error-message").fadeIn()}var f,_},error:function(e,i,s){console.error(s),console.log(e),console.log(i)},complete:function(e,s){i.find(".yikes-easy-mc-submit-button").removeAttr("disabled","disabled")}}),!1})})}(window,document,jQuery,Yikes_Mailchimp_Ajax);
1
+ window.Yikes_Mailchimp_Ajax=window.Yikes_Mailchimp_Ajax||{},function(e,i,m,u,s){"use strict";u.l10n=e.yikes_mailchimp_ajax||{},m(i).ready(function(){m("body").on("submit",".yikes-easy-mc-form",function(){var l=m(this);l.addClass("yikes-mc-submitted-form-loading"),l.find("input, label, button").not(":hidden").fadeTo("fast",.5),"string"==typeof u.l10n.preloader_url&&1<u.l10n.preloader_url.length&&l.append('<img src="'+u.l10n.preloader_url+'" class="yikes-mailchimp-preloader" />'),m(".yikes-mc-required-field-not-filled").removeClass("yikes-mc-required-field-not-filled"),m(".yikes-mailchimp-submit-button-span-text").hide(),"string"==typeof u.l10n.loading_dots&&1<u.l10n.loading_dots.length&&l.find(".yikes-easy-mc-submit-button").append('<img src="'+u.l10n.loading_dots+'" class="loading-dots yikes-mc-loading-dots" />');var c=l.attr("data-attr-form-id"),i=[];if(0<l.find(".yikes-interest-group-required").length&&l.find(".yikes-interest-group-required").each(function(){var e=jQuery(this).attr("name").replace("[]","");0==l.find('input[name="'+e+'[]"]:checked').length&&(i[e]=l.find("span."+e+"-label").text())}),0<i.length){if(0<l.find(".yikes-mailchimp-required-interest-group-error").length)l.find(".yikes-mailchimp-required-interest-group-error").fadeOut("fast",function(){for(var e in l.find(".yikes-mailchimp-required-interest-group-error").remove(),i)l.find("span."+e+"-label").after('<p class="yikes-mailchimp-required-interest-group-error">'+u.l10n.interest_group_checkbox_error+"</p>")});else for(var e in i)l.find("span."+e+"-label").after('<p class="yikes-mailchimp-required-interest-group-error">'+u.l10n.interest_group_checkbox_error+"</p>");return l.find(".yikes-easy-mc-submit-button").removeAttr("disabled","disabled"),l.find("input, label, button").not(":hidden").fadeTo("fast",1),l.find(".yikes-mailchimp-preloader").remove(),m(".yikes-mc-loading-dots").remove(),m(".yikes-mailchimp-submit-button-span-text").show(),l.removeClass("yikes-mc-submitted-form-loading"),!1}l.find(".yikes-easy-mc-submit-button").attr("disabled","disabled"),m(".yikes-easy-mc-error-message").remove(),m(".yikes-easy-mc-success-message").remove();var s={action:"process_form_submission",form_data:l.serialize(),form_id:c,page_data:u.l10n.page_data,ajax_security_nonce:u.l10n.ajax_security_nonce};return m.ajax({url:u.l10n.ajax_url,type:"POST",data:s,success:function(e,i,s){if(l.find("input, label, button").not(":hidden").fadeTo("fast",1),l.find(".yikes-mailchimp-preloader").remove(),m(".yikes-mc-loading-dots").remove(),m(".yikes-mailchimp-submit-button-span-text").show(),l.removeClass("yikes-mc-submitted-form-loading"),e.success){e=e.data,"function"==typeof yikes_mailchimp_google_analytics_success&&yikes_mailchimp_google_analytics_success(e),1==e.hide&&(0<m(".yikes-easy-mc-form-description-"+c).length&&m(".yikes-easy-mc-form-description-"+c).hide(),l.hide()),0<m(".yikes-easy-mc-form-description-"+c).length?m(".yikes-easy-mc-form-description-"+c).before('<p class="yikes-easy-mc-success-message yikes-easy-mc-success-message-'+c+' yikes-easy-mc-hidden">'+e.response+"</p>"):l.before('<p class="yikes-easy-mc-success-message yikes-easy-mc-success-message-'+c+' yikes-easy-mc-hidden">'+e.response+"</p>"),m(".yikes-easy-mc-success-message-"+c).fadeIn(),m(".yikes-mailchimp-required-interest-group-error").remove(),1===e.redirection&&yikes_mc_redirect_after_submission(e.redirect,e.redirect_timer,e.new_window),l.find("input").not('.yikes-easy-mc-submit-button, input[type="radio"], input[type="select"], input[type="checkbox"], #yikes-mailchimp-associated-list-id, #yikes-mailchimp-submitted-form').val("");var r={action:"increase_submission_count",form_id:c};m.ajax({url:u.l10n.ajax_url,type:"POST",data:r,success:function(e,i,s){},error:function(e,i,s){console.error(s)}})}else{if(e=e.data,"function"==typeof yikes_mailchimp_google_analytics_failure&&yikes_mailchimp_google_analytics_failure(e),0<m(".yikes-easy-mc-form-description-"+c).length)m(".yikes-easy-mc-form-description-"+c).before('<p class="yikes-easy-mc-error-message yikes-easy-mc-error-message-'+c+'" yikes-easy-mc-hidden"> '+e.response+"</p>");else{var a=void 0!==e&&void 0!==e.response?e.response:"Error collecting the API response.";l.before('<p class="yikes-easy-mc-error-message yikes-easy-mc-error-message-'+c+' yikes-easy-mc-hidden">'+a+"</p>")}if(void 0!==e&&void 0!==e.missing_required_field&&!0===e.missing_required_field&&void 0!==e.missing_required_field_data){var o=e.missing_required_field_data,t=void 0!==e.is_interest_group&&e.is_interest_group;d=t,void 0!==(n=o)&&m.each(n,function(e,i){!0===d?0<m("span."+e+"-label").length?m("span."+e+"-label").addClass("yikes-mc-required-field-not-filled"):m("."+e+"-label").addClass("yikes-mc-required-field-not-filled"):m('label[for="'+e+'"]').children("input").addClass("yikes-mc-required-field-not-filled")})}m(".yikes-easy-mc-error-message").fadeIn()}var n,d},error:function(e,i,s){console.error(s),console.log(e),console.log(i)},complete:function(e,i){l.find(".yikes-easy-mc-submit-button").removeAttr("disabled","disabled")}}),!1})})}(window,document,jQuery,Yikes_Mailchimp_Ajax);
public/partials/ajax/class.public_ajax.php CHANGED
@@ -62,6 +62,7 @@ class YIKES_Inc_Easy_MailChimp_Public_Ajax {
62
  $user_id = md5( $user_email );
63
  $list_id = $_POST['list_id'];
64
  $form_id = $_POST['form_id'];
 
65
  $full_site_url = get_bloginfo( 'url' );
66
  $manager = yikes_get_mc_api_manager();
67
 
@@ -173,10 +174,16 @@ class YIKES_Inc_Easy_MailChimp_Public_Ajax {
173
  if ( wp_mail( $user_email, apply_filters( 'yikes-mailchimp-update-email-subject', $email_subject ), apply_filters( 'yikes-mailchimp-update-email-content', $email_body, $update_link_href ), $headers ) ) {
174
 
175
  $update_email_success_message = apply_filters( 'yikes-mailchimp-update-email-success-message', $update_email_success_message, $form_id, $user_email );
 
 
176
 
177
  wp_send_json_success(
178
  array(
179
- 'response_text' => '<div class="yikes-easy-mc-success-message">' . $update_email_success_message . '</div>',
 
 
 
 
180
  )
181
  );
182
  } else {
62
  $user_id = md5( $user_email );
63
  $list_id = $_POST['list_id'];
64
  $form_id = $_POST['form_id'];
65
+ $page_id = $_POST['page_id'];
66
  $full_site_url = get_bloginfo( 'url' );
67
  $manager = yikes_get_mc_api_manager();
68
 
174
  if ( wp_mail( $user_email, apply_filters( 'yikes-mailchimp-update-email-subject', $email_subject ), apply_filters( 'yikes-mailchimp-update-email-content', $email_body, $update_link_href ), $headers ) ) {
175
 
176
  $update_email_success_message = apply_filters( 'yikes-mailchimp-update-email-success-message', $update_email_success_message, $form_id, $user_email );
177
+ $submission_settings = isset( $form_data['submission_settings'] ) ? $form_data['submission_settings'] : null;
178
+ $redirect_settings = Yikes_Inc_Easy_MailChimp_Extender_Process_Submission_Handler::handle_submission_response_success_redirect( $form_id, $submission_settings, $page_id );
179
 
180
  wp_send_json_success(
181
  array(
182
+ 'response_text' => '<div class="yikes-easy-mc-success-message">' . $update_email_success_message . '</div>',
183
+ 'redirection' => $redirect_settings['redirection'],
184
+ 'redirect' => $redirect_settings['redirect'],
185
+ 'redirect_timer' => $redirect_settings['redirect_timer'],
186
+ 'new_window' => $redirect_settings['new_window'],
187
  )
188
  );
189
  } else {
public/partials/shortcodes/process/process_form_submission.php CHANGED
@@ -86,7 +86,7 @@ if ( $submission_handler->handle_empty_list_handler( $list_handler ) === false )
86
  return;
87
  }
88
 
89
- // Get and sanitize the email
90
  $submitted_email = isset( $data['EMAIL'] ) ? $data['EMAIL'] : '';
91
  $sanitized_email = $submission_handler->get_sanitized_email( $submitted_email );
92
  $submission_handler->set_email( $sanitized_email );
@@ -163,7 +163,7 @@ if ( ! empty( $groups ) ) {
163
  }
164
 
165
  // Check if this member already exists
166
- $member_exists = $list_handler->get_member( $list_id, md5( strtolower( $sanitized_email ) ), $use_transient = false );
167
 
168
  // If this member does not exist, then we need to add the status_if_new flag and set our $new_subscriber variable
169
  // Likewise, if this member exists but their status is 'pending' it means we're dealing with a double opt-in list and they never confirmed
@@ -242,7 +242,7 @@ $member_data = apply_filters( 'yikes-mailchimp-filter-subscribe-request', $membe
242
  $member_data = apply_filters( "yikes-mailchimp-filter-subscribe-request-{$form_id}", $member_data, $form_id );
243
 
244
  // Send the API request to create a new subscriber! (Or update an existing one)
245
- $subscribe_response = $list_handler->member_subscribe( $list_id, md5( strtolower( $sanitized_email ) ), $member_data );
246
 
247
  // Handle the response
248
 
86
  return;
87
  }
88
 
89
+ // Get, sanitize, and lowercasify the email
90
  $submitted_email = isset( $data['EMAIL'] ) ? $data['EMAIL'] : '';
91
  $sanitized_email = $submission_handler->get_sanitized_email( $submitted_email );
92
  $submission_handler->set_email( $sanitized_email );
163
  }
164
 
165
  // Check if this member already exists
166
+ $member_exists = $list_handler->get_member( $list_id, md5( $sanitized_email ), $use_transient = false );
167
 
168
  // If this member does not exist, then we need to add the status_if_new flag and set our $new_subscriber variable
169
  // Likewise, if this member exists but their status is 'pending' it means we're dealing with a double opt-in list and they never confirmed
242
  $member_data = apply_filters( "yikes-mailchimp-filter-subscribe-request-{$form_id}", $member_data, $form_id );
243
 
244
  // Send the API request to create a new subscriber! (Or update an existing one)
245
+ $subscribe_response = $list_handler->member_subscribe( $list_id, md5( $sanitized_email ), $member_data );
246
 
247
  // Handle the response
248
 
public/partials/shortcodes/process/process_form_submission_ajax.php CHANGED
@@ -67,7 +67,7 @@ $page_data = ! empty( $page_data ) ? get_post( $page_data ) : '';
67
  // Send an error if for some reason we can't find the list_handler
68
  $submission_handler->handle_empty_list_handler( $list_handler );
69
 
70
- // Get and sanitize the email
71
  $submitted_email = isset( $data['EMAIL'] ) ? $data['EMAIL'] : '';
72
  $sanitized_email = $submission_handler->get_sanitized_email( $submitted_email );
73
  $submission_handler->set_email( $sanitized_email );
@@ -130,7 +130,7 @@ if ( ! empty( $groups ) ) {
130
  }
131
 
132
  // Check if this member already exists
133
- $member_exists = $list_handler->get_member( $list_id, md5( strtolower( $sanitized_email ) ), $use_transient = false );
134
 
135
  // If this member does not exist, then we need to add the status_if_new flag and set our $new_subscriber variable
136
  // Likewise, if this member exists but their status is 'pending' it means we're dealing with a double opt-in list and they never confirmed
@@ -202,7 +202,7 @@ $member_data = apply_filters( 'yikes-mailchimp-filter-subscribe-request', $membe
202
  $member_data = apply_filters( "yikes-mailchimp-filter-subscribe-request-{$form_id}", $member_data, $form_id );
203
 
204
  // Send the API request to create a new subscriber! (Or update an existing one)
205
- $subscribe_response = $list_handler->member_subscribe( $list_id, md5( strtolower( $sanitized_email ) ), $member_data );
206
 
207
  // Handle the response
208
 
@@ -214,4 +214,4 @@ if ( is_wp_error( $subscribe_response ) ) {
214
  }
215
 
216
  // That's all folks.
217
- // :)
67
  // Send an error if for some reason we can't find the list_handler
68
  $submission_handler->handle_empty_list_handler( $list_handler );
69
 
70
+ // Get, sanitize and lowercasify the email
71
  $submitted_email = isset( $data['EMAIL'] ) ? $data['EMAIL'] : '';
72
  $sanitized_email = $submission_handler->get_sanitized_email( $submitted_email );
73
  $submission_handler->set_email( $sanitized_email );
130
  }
131
 
132
  // Check if this member already exists
133
+ $member_exists = $list_handler->get_member( $list_id, md5( $sanitized_email ), $use_transient = false );
134
 
135
  // If this member does not exist, then we need to add the status_if_new flag and set our $new_subscriber variable
136
  // Likewise, if this member exists but their status is 'pending' it means we're dealing with a double opt-in list and they never confirmed
202
  $member_data = apply_filters( "yikes-mailchimp-filter-subscribe-request-{$form_id}", $member_data, $form_id );
203
 
204
  // Send the API request to create a new subscriber! (Or update an existing one)
205
+ $subscribe_response = $list_handler->member_subscribe( $list_id, md5( $sanitized_email ), $member_data );
206
 
207
  // Handle the response
208
 
214
  }
215
 
216
  // That's all folks.
217
+ // :)
public/partials/shortcodes/process_form_shortcode.php CHANGED
@@ -329,20 +329,22 @@ function process_mailchimp_shortcode( $atts ) {
329
  echo sprintf( '<section class="yikes-mailchimp-form-description yikes-mailchimp-form-description-%1$s">%2$s</section>', $form_id, $description );
330
  }
331
 
 
 
 
 
 
 
 
 
332
  // Check for AJAX
333
  if( ( ! empty( $atts['ajax'] ) && $atts['ajax'] == 1 ) || $form_data['submission_settings']['ajax'] == 1 ) {
334
 
335
- // Used in `yikes-mailchimp-redirect-url` filter
336
- // Note: as of 6.4, this is now just the post ID - not the entire post object.
337
- global $post;
338
- $page_data = isset( $post->ID ) ? $post->ID : 0;
339
-
340
- // enqueue our ajax script
341
- $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
342
  wp_enqueue_script( 'yikes-easy-mc-ajax' , YIKES_MC_URL . "public/js/yikes-mc-ajax-forms{$min}.js" , array( 'jquery' ), YIKES_MC_VERSION, false );
343
  wp_localize_script( 'yikes-easy-mc-ajax', 'yikes_mailchimp_ajax', array(
344
  'ajax_url' => esc_url( admin_url( 'admin-ajax.php' ) ),
345
- 'page_data' => apply_filters( 'yikes-mailchimp-page-data', $page_data, $form_id ),
346
  'interest_group_checkbox_error' => apply_filters( 'yikes-mailchimp-interest-group-checkbox-error', __( 'This field is required.', 'yikes-inc-easy-mailchimp-extender' ), $form_id ),
347
  'preloader_url' => apply_filters( 'yikes-mailchimp-preloader', YIKES_MC_URL . 'includes/images/ripple.svg' ),
348
  'loading_dots' => apply_filters( 'yikes-mailchimp-loading-dots', YIKES_MC_URL . 'includes/images/bars.svg' ),
@@ -351,11 +353,12 @@ function process_mailchimp_shortcode( $atts ) {
351
  }
352
 
353
  // Generic JavaScript functions for interacting with the form
354
- wp_enqueue_script( 'form-submission-helpers', YIKES_MC_URL . 'public/js/form-submission-helpers.min.js' , array( 'jquery' ), YIKES_MC_VERSION, false );
355
  wp_localize_script( 'form-submission-helpers', 'form_submission_helpers', array(
356
- 'ajax_url' => esc_url( admin_url( 'admin-ajax.php' ) ),
357
- 'preloader_url' => apply_filters( 'yikes-mailchimp-preloader', esc_url_raw( admin_url( 'images/wpspin_light.gif' ) ) ),
358
- 'countries_with_zip' => $countries_with_zip_code_field
 
359
  ) );
360
 
361
  do_action( 'yikes-mailchimp-google-analytics', $form_id );
329
  echo sprintf( '<section class="yikes-mailchimp-form-description yikes-mailchimp-form-description-%1$s">%2$s</section>', $form_id, $description );
330
  }
331
 
332
+ // Used in `yikes-mailchimp-redirect-url` filter
333
+ // Note: as of 6.4, this is now just the post ID - not the entire post object.
334
+ global $post;
335
+ $page_data = isset( $post->ID ) ? $post->ID : 0;
336
+ $page_data = apply_filters( 'yikes-mailchimp-page-data', $page_data, $form_id );
337
+
338
+ $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
339
+
340
  // Check for AJAX
341
  if( ( ! empty( $atts['ajax'] ) && $atts['ajax'] == 1 ) || $form_data['submission_settings']['ajax'] == 1 ) {
342
 
343
+ // Enqueue our ajax script
 
 
 
 
 
 
344
  wp_enqueue_script( 'yikes-easy-mc-ajax' , YIKES_MC_URL . "public/js/yikes-mc-ajax-forms{$min}.js" , array( 'jquery' ), YIKES_MC_VERSION, false );
345
  wp_localize_script( 'yikes-easy-mc-ajax', 'yikes_mailchimp_ajax', array(
346
  'ajax_url' => esc_url( admin_url( 'admin-ajax.php' ) ),
347
+ 'page_data' => $page_data,
348
  'interest_group_checkbox_error' => apply_filters( 'yikes-mailchimp-interest-group-checkbox-error', __( 'This field is required.', 'yikes-inc-easy-mailchimp-extender' ), $form_id ),
349
  'preloader_url' => apply_filters( 'yikes-mailchimp-preloader', YIKES_MC_URL . 'includes/images/ripple.svg' ),
350
  'loading_dots' => apply_filters( 'yikes-mailchimp-loading-dots', YIKES_MC_URL . 'includes/images/bars.svg' ),
353
  }
354
 
355
  // Generic JavaScript functions for interacting with the form
356
+ wp_enqueue_script( 'form-submission-helpers', YIKES_MC_URL . "public/js/form-submission-helpers{$min}.js" , array( 'jquery' ), YIKES_MC_VERSION, false );
357
  wp_localize_script( 'form-submission-helpers', 'form_submission_helpers', array(
358
+ 'ajax_url' => esc_url( admin_url( 'admin-ajax.php' ) ),
359
+ 'preloader_url' => apply_filters( 'yikes-mailchimp-preloader', esc_url_raw( admin_url( 'images/wpspin_light.gif' ) ) ),
360
+ 'countries_with_zip' => $countries_with_zip_code_field,
361
+ 'page_data' => $page_data,
362
  ) );
363
 
364
  do_action( 'yikes-mailchimp-google-analytics', $form_id );
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: yikesinc, eherman24, liljimmi, JPry, yikesitskevin
3
  Donate link: https://yikesplugins.com/?utm_source=wp_plugin_repo&utm_medium=donate_link&utm_campaign=easy_forms_for_mailchimp
4
  Tags: MailChimp, MailChimp forms, MailChimp lists, opt-in forms, sign up form, MailChimp, email, forms, mailing lists, marketing, newsletter, sign up
5
  Requires at least: 4.0
6
- Tested up to: 4.9.6
7
- Stable tag: 6.4.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -171,10 +171,8 @@ For information and code examples on how to implement the hooks and filters prov
171
 
172
  == Changelog ==
173
 
174
- = 6.4.3 - May 21st, 2018 =
175
- * Fixed some issues with the readme
176
- * Fixed an issue with required radio button fields that had no default value; they will now be required.
177
- * Fixed a PHP warning related to interest groups in the form builder.
178
- * Fixed a PHP warning related to error messages.
179
- * Fixed a PHP notice on the integration checkbox page.
180
- * Added a new action when a form is duplicated: `'yikes-mailchimp-after-duplicating-form'`
3
  Donate link: https://yikesplugins.com/?utm_source=wp_plugin_repo&utm_medium=donate_link&utm_campaign=easy_forms_for_mailchimp
4
  Tags: MailChimp, MailChimp forms, MailChimp lists, opt-in forms, sign up form, MailChimp, email, forms, mailing lists, marketing, newsletter, sign up
5
  Requires at least: 4.0
6
+ Tested up to: 4.9.7
7
+ Stable tag: 6.4.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
171
 
172
  == Changelog ==
173
 
174
+ = 6.4.4 - July 24th, 2018 =
175
+ * Fixed an issue where the Update Profile Email would not send when the submitted email address contained capital letters.
176
+ * Users will now be redirected in accordance with their submission settings after the Update Profile Email is successfully sent.
177
+ * The max character length of a MERGE field's label is now 50 characters to match MailChimp's max length.
178
+ * The input field for editing a MERGE field's label has been increased.
 
 
yikes-inc-easy-mailchimp-extender.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Easy Forms for MailChimp
4
  * Plugin URI: https://yikesplugins.com/plugin/easy-forms-for-mailchimp/
5
  * Description: The ultimate MailChimp WordPress plugin. Easily build <strong>unlimited forms for your MailChimp lists</strong>, add them to your site and track subscriber activity. To get started, go to the settings page and enter your <a href="https://yikesplugins.com/support/knowledge-base/finding-your-mailchimp-api-key/" target="_blank">MailChimp API key</a>.
6
- * Version: 6.4.3
7
  * Author: YIKES, Inc.
8
  * Author URI: https://www.yikesplugins.com/
9
  * License: GPL-3.0+
@@ -43,7 +43,7 @@ if ( ! defined( 'WPINC' ) ) {
43
  * @since 6.1.3
44
  */
45
  if ( ! defined( 'YIKES_MC_VERSION' ) ) {
46
- define( 'YIKES_MC_VERSION' , '6.4.3' );
47
  }
48
 
49
  /**
3
  * Plugin Name: Easy Forms for MailChimp
4
  * Plugin URI: https://yikesplugins.com/plugin/easy-forms-for-mailchimp/
5
  * Description: The ultimate MailChimp WordPress plugin. Easily build <strong>unlimited forms for your MailChimp lists</strong>, add them to your site and track subscriber activity. To get started, go to the settings page and enter your <a href="https://yikesplugins.com/support/knowledge-base/finding-your-mailchimp-api-key/" target="_blank">MailChimp API key</a>.
6
+ * Version: 6.4.4
7
  * Author: YIKES, Inc.
8
  * Author URI: https://www.yikesplugins.com/
9
  * License: GPL-3.0+
43
  * @since 6.1.3
44
  */
45
  if ( ! defined( 'YIKES_MC_VERSION' ) ) {
46
+ define( 'YIKES_MC_VERSION' , '6.4.4' );
47
  }
48
 
49
  /**