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

fix recaptcha validate_user_signup hook

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