Recaptcha script enqueue issue
-
Hello,
I managed to find small issue with reCaptcha Enqueues. I don’t know if it’s just on my site or if it happens on every page. But the thing is scripts are not replaced. Mainly it is about:remove_action( ‘wp_enqueue_scripts’, ‘wpcf7_recaptcha_enqueue_scripts’, 20 );
Line 23 file recaptcha-v2.php
The thing is Contact Form 7’s action is not with 20 priority. It’s with 10. So it should be replaced to:
remove_action( ‘wp_enqueue_scripts’, ‘wpcf7_recaptcha_enqueue_scripts’, 10 );
But as I said earlier it happened on my site. So I’m not 100% sure that this issue might happend on other sites, but i thought that you might have a look on this.
Kind regards,
Mateusz
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Recaptcha script enqueue issue’ is closed to new replies.