Recaptchas api.js should be enqueued and not be hard coded
-
Hi,
In widget.php the api.js from Recaptcha is hard coded. Instead it should be enqueued like any other script if needed.
The problem is, that there are also many other plugins using Recaptcha (for instance this one) and having the script two times on a page results in a JavaScript error.
Also this way it is not possible to deregister the script, if needed.
- The topic ‘Recaptchas api.js should be enqueued and not be hard coded’ is closed to new replies.