Title: Recaptcha script enqueue issue
Last modified: June 3, 2022

---

# Recaptcha script enqueue issue

 *  Resolved [nessi](https://wordpress.org/support/users/nessikd/)
 * (@nessikd)
 * [4 years ago](https://wordpress.org/support/topic/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)

 *  Plugin Author [IQComputing](https://wordpress.org/support/users/iqcomputing/)
 * (@iqcomputing)
 * [4 years ago](https://wordpress.org/support/topic/recaptcha-script-enqueue-issue/#post-15706512)
 * Hello,
 * Looking at the latest version of Contact Form 7 (5.5.6.1), the action we’re removing
   is still priority 20.
 * contact-form-7\modules\recaptcha\recaptcha.php LN 25
 * We do test our releases with the latest version of Contact Form 7. If your ReCaptcha
   is not showing it, please ensure that you’ve thoroughly followed the Installation
   instructions linked below:
 * [https://wordpress.org/plugins/wpcf7-recaptcha/#installation](https://wordpress.org/plugins/wpcf7-recaptcha/#installation)
 * If you’re working with a custom theme, ensure that the Header calls `wp_head()`
   and footer calls `wp_footer()` functions as they are required. If you link your
   website, we can also take a look and might have more ideas.
 * Hopefully, you’re able to solve your issue using the above information, but should
   you have any questions, please reply to this thread, and we can assist further.
   Have a wonderful rest of your week!
 *  Thread Starter [nessi](https://wordpress.org/support/users/nessikd/)
 * (@nessikd)
 * [4 years ago](https://wordpress.org/support/topic/recaptcha-script-enqueue-issue/#post-15711834)
 * Hello
 * I installed all required plugins on new wordpress instance. And as it turns out,`
   wpcf7_recaptcha_enqueue_scripts` has 20 prority.
 * So I think that some custom code, changes it in different place.
    But for now
   everything works fine. So everything is as it should be:)
 * Thanks for your reply!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Recaptcha script enqueue issue’ is closed to new replies.

 * ![](https://ps.w.org/wpcf7-recaptcha/assets/icon.svg?rev=2003053)
 * [ReCaptcha v2 for Contact Form 7](https://wordpress.org/plugins/wpcf7-recaptcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpcf7-recaptcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpcf7-recaptcha/)
 * [Active Topics](https://wordpress.org/support/plugin/wpcf7-recaptcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpcf7-recaptcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpcf7-recaptcha/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [nessi](https://wordpress.org/support/users/nessikd/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/recaptcha-script-enqueue-issue/#post-15711834)
 * Status: resolved