Javascript inserted from Plugin pointing to wrong location

admin2025-06-05  3

This has happened time and time again on multiple sites. When it happens, it forces me to start with a fresh install of WordPress to get around it.

The most recent example is on the WP Forms Lite plugin: /

On the plugin, I enable recaptcha, and then instead of pointing to Google for the javascript file: .js

It points to my local site: /recaptcha/api.js

This has happened to me on multiple WordPress installs, I feel like on every plugin that requires an external javascript file. For example, on a WooCommerce plugin site, I enabled Stripe payments, and instead of referencing: .js

The site will reference: /checkout.js

WordPress will randomly remove all javascript URL references to external sites.

Is there a manual way to fix this? If I deactivate all plugins, delete them, then install the plugin, activate, it does not fix the issue. I have to completely delete WordPress on my server and reinstall to fix.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1749077822a316169.html

最新回复(0)