misthero on "[Plugin: Contact Form 7 Multi-Step Forms] Javascript error in shortcode builder - FIX"

ساخت وبلاگ

in file CFDBViewShortCodeBuilder.php line 1825 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://wordpress.org/plugins/contact-form-7-multi-step-module/

I think you posted to the wrong forum. there is no CFDBViewShortCodeBuilder.php in this plugin.

misthero
Member
Posted 7 minutes ago #

oh!! yes!! I'm sorry, you are right this is for the Contact Form DB plugin, i guess I had both pages open and clicked on the wrong one..

you can close this, sorry again..

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 234 تاريخ : جمعه 18 تير 1395 ساعت: 4:06