Plugin no longer works
-
Since some update of ContactForm7, plugin no longer works. ??
I need to use ReCaptcha v2, but instead script of ReCaptcha v3 is loaded.As I discover, you don’t deregister previous script of ContactForm7, which is loading v3.
See /wp-content/plugins/wpcf7-recaptcha/recaptcha-v2.php
Lines 75. You just trying register again
wp_register_script( 'google-recaptcha', $url, array(), '2.0', true );
But after some update it doesn’t work anymore.After I added lines of dequeue&&deregister:
wp_dequeue_script( 'google-recaptcha' ); wp_deregister_script('google-recaptcha');
before lines 75, plugin start work properly.
Please update your plugin.
See line 75 and change it to:wp_dequeue_script( 'google-recaptcha' ); wp_deregister_script('google-recaptcha'); wp_register_script( 'google-recaptcha', $url, array(), '2.0', true ); wp_enqueue_script( 'google-recaptcha', $url, array(), '2.0', true );
Thanks in advance!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Plugin no longer works’ is closed to new replies.