Issue with recent CF7 update – shortcode
-
Hello – wanted to mention I had an issue tonight when adding a new CF7 form to a new page. The recaptcha was not loading at all. I took a look at the plugin and compared it to the shortcode and it appears they made a change somewhere along the way:
Old: contact-form-7
New: cf7formI tested the following update:
if( has_shortcode($post->post_content, ‘contact-form-7’) || has_shortcode($post->post_content, ‘cf7form’) ) {
$load_scripts = true;
}Seems to have done the trick. Not sure if anything else was changed in regards to any other script loading.
Wanted to pass along to see if you could take a peek, test, and update the plugin with something similar. Was extremely helpful for me to find originally. 🙂
Thanks!
- The topic ‘Issue with recent CF7 update – shortcode’ is closed to new replies.