Bug report
-
Hi
In the current version, the Captcha will not work; will give “invalid-input-secret” error message when submitting the form.
It seems that an unset variable $recaptcha_secret_key is used in class-form-validator.php row 427.
Preceding that row with variable assignment solves this problem.$recaptcha_secret_key = $this->plugin_settings['recaptcha_v2_secret_key']; $recaptcha_response_get = wp_remote_get("https://www.google.com/recaptcha/api/siteverify?secret=" . $recaptcha_secret_key . "&response=" . $captcha . "&remoteip=" . $_SERVER['REMOTE_ADDR']);Best regards
Erik
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Bug report’ is closed to new replies.