Javascript error in shortcode builder – FIX
-
in file CFDBViewShortCodeBuilder.php line 1833 presents a little typo that breaks javascript execution if wp debug is enabled
jQuery('#header_cntl').prop("checked", <?php echo $this->requestParams['$postedHeader'] == 'false' ? 'false' : 'true' ?>); // default = true
this line cause a undefined index error ‘$postedHeader’ is not defined
change it like this
jQuery('#header_cntl').prop("checked", <?php echo $this->requestParams['postedHeader'] == 'false' ? 'false' : 'true' ?>); // default = true
https://www.ads-software.com/plugins/contact-form-7-to-database-extension/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Javascript error in shortcode builder – FIX’ is closed to new replies.