Skip to content
Snippets Groups Projects
Commit ab15844d authored by ale's avatar ale Committed by lucha
Browse files

fix recaptcha validate_user_signup hook

parent 6e9de5aa
No related branches found
No related tags found
No related merge requests found
......@@ -252,7 +252,7 @@ class ReCAPTCHAPlugin extends WPPlugin
$_POST['g-recaptcha-response'] == '') {
$result['errors']->add('blank_captcha',
$this->options['no_response_error']);
return $result['errors'];
return $result;
}
if ($this->_reCaptchaLib == null) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment