Title: Double script loading
Last modified: April 1, 2026

---

# Double script loading

 *  Resolved [giovef](https://wordpress.org/support/users/giovef/)
 * (@giovef)
 * [2 weeks ago](https://wordpress.org/support/topic/double-script-loading/)
 * Hi,
 * I’m experiencing a double reCAPTCHA load on the WooCommerce page of my site and
   I need your help to understand if this is a known issue.
 * Here is what I observed using the browser Network tab filtered on ‘recaptcha’:
    - The reCAPTCHA api.js script (with onload=wpcaptcha_captcha) is loaded twice
      on /checkout
    - The first load is triggered directly as a script in the HTML (WPCaptcha)
    - The second load is triggered by jquery.min.js, apparently after a WooCommerce
      AJAX event
 * Both requests use the exact same URL and parameters, so this appears to be WPCaptcha
   reinitializing itself after a WooCommerce AJAX
 * This applies to all pages
    -  This topic was modified 2 weeks ago by [giovef](https://wordpress.org/support/users/giovef/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Alexandru Tapuleasa](https://wordpress.org/support/users/talextech/)
 * (@talextech)
 * [1 week, 6 days ago](https://wordpress.org/support/topic/double-script-loading/#post-18869598)
 * The only reason I could think of is that a login form exists on the page. Some
   pages add it either in HTML or it might be hidden by JS. Can you post a link 
   to the page so I can have a look?

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdouble-script-loading%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/advanced-google-recaptcha/assets/icon-256x256.png?rev=2493018)
 * [Advanced Google reCAPTCHA](https://wordpress.org/plugins/advanced-google-recaptcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-google-recaptcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-google-recaptcha/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-google-recaptcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-google-recaptcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-google-recaptcha/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Alexandru Tapuleasa](https://wordpress.org/support/users/talextech/)
 * Last activity: [1 week, 6 days ago](https://wordpress.org/support/topic/double-script-loading/#post-18869598)
 * Status: resolved