Bug in reCaptcha
-
We get errors on our console caused by an invalid Google reCaptcha <script> line. This appears to be ContactForm7 that has the problem.
Here is the error:
<script type=”text/javascript” src=”https://www.google.com/recaptcha/api.js?render=6LecL40UAAAAAEef6si8YrlwcqOXK9psgmsV6Nut&ver=3.0″></script>And on the console:
GET https://www.google.com/recaptcha/api.js?render=6LecL40UAAAAAEef6si8YrlwcqOXK9psgmsV6Nut&ver=3.0 net::ERR_ABORTED 400Clearly, ‘render’ should be ‘key’.
Here is the code that is wrong:
$ find . -name \*.php -exec grep ‘render’ {} \; -print
‘render’ => $service->get_sitekey(),
./modules/recaptcha.php
The topic ‘Bug in reCaptcha’ is closed to new replies.