Changeset 2813392
- Timestamp:
- 11/07/2022 10:08:29 AM (3 years ago)
- Location:
- mailbluster4wp/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (2 diffs)
-
admin/partials/form-options/builder.php (modified) (2 diffs)
-
admin/partials/form-options/settings.php (modified) (1 diff)
-
mailbluster4wp.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mailbluster4wp/trunk/README.txt
r2799245 r2813392 6 6 Tested up to: 6.0.1 7 7 Requires PHP: 5.6 8 Stable tag: 1.1.8. 28 Stable tag: 1.1.8.3 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 70 70 == Changelog == 71 71 72 = 1.1.8.3 = 73 * Bug fix: fields warning 74 * Bug fix: consent checkbox error 75 72 76 = 1.1.8.2 = 73 77 * Bug fix: added HTML support on consent text -
mailbluster4wp/trunk/admin/partials/form-options/builder.php
r2799245 r2813392 4 4 $form_input_field = isset($form_input_field) && !empty($form_input_field) ? $form_input_field : 'email'; 5 5 $custom_field = MailBluster4WP_Helper::get_custom_field(); 6 if($custom_field->fields === 'null') $custom_field->fields = []; 6 7 $newArr = []; 7 8 foreach($custom_field->fields as $v){ … … 110 111 <div id="mb4wp_form_builder_consent" class="mb4wp-builder-content" style="display: <?php echo (isset($show_consent_checkbox) && ($show_consent_checkbox == 'yes')) ? "flex" : "none"; ?>;"> 111 112 <input type="checkbox" name="" id="mb4wp_builder_form_chekbox" disabled> 112 <label id="mb4wp_builder_form_checkbox_label" for="mb4wp_builder_form_chekbox"><?php echo (isset($show_consent_checkbox) && ($show_consent_checkbox == 'yes') && isset($show_consent_text)) ? strip_tags($show_consent_text, "<p>, <u>, <em>, <strong>, <a>") : MailBluster4WP_Helper::consent_default_textarea() ?></label>113 <label id="mb4wp_builder_form_checkbox_label" for="mb4wp_builder_form_chekbox"><?php echo (isset($show_consent_checkbox) && ($show_consent_checkbox == 'yes') && !empty($show_consent_text)) ? strip_tags($show_consent_text, "<p>, <u>, <em>, <strong>, <a>") : MailBluster4WP_Helper::consent_default_textarea() ?></label> 113 114 </div> 114 115 </div> -
mailbluster4wp/trunk/admin/partials/form-options/settings.php
r2799245 r2813392 41 41 <?php echo (isset($settings['consent_checkbox']) && !empty($settings['consent_textarea'])) ? strip_tags($settings['consent_textarea'], "<p>, <u>, <em>, <strong>, <a>") : MailBluster4WP_Helper::consent_default_textarea(); ?> 42 42 </div> 43 <input value="<?php echo esc_attr($settings['consent_textarea']) ? esc_attr($settings['consent_textarea']) : MailBluster4WP_Helper::consent_default_textarea(); ?>" name="mb4wp_form_settings_options[consent_textarea]" id="consent_textarea" type="hidden">43 <input value="<?php echo !empty($settings['consent_textarea']) ? esc_attr($settings['consent_textarea']) : MailBluster4WP_Helper::consent_default_textarea(); ?>" name="mb4wp_form_settings_options[consent_textarea]" id="consent_textarea" type="hidden"> 44 44 </td> 45 45 </tr> -
mailbluster4wp/trunk/mailbluster4wp.php
r2799245 r2813392 37 37 * Rename this for your plugin and update it as you release new versions. 38 38 */ 39 define('MAILBLUSTER4WP_VERSION', '1.1.8. 2');39 define('MAILBLUSTER4WP_VERSION', '1.1.8.3'); 40 40 41 41 /**
Note: See TracChangeset
for help on using the changeset viewer.