From bfcfb07c1cbadb9afbc6652fb5a200607d4bd67d Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Sat, 22 Aug 2015 18:42:44 +0100 Subject: [PATCH] fix recaptcha validate_user_signup hook --- wp-content/plugins/wp-recaptcha-bp/recaptcha.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-content/plugins/wp-recaptcha-bp/recaptcha.php b/wp-content/plugins/wp-recaptcha-bp/recaptcha.php index a9ea1d6c7..2cb535b2d 100644 --- a/wp-content/plugins/wp-recaptcha-bp/recaptcha.php +++ b/wp-content/plugins/wp-recaptcha-bp/recaptcha.php @@ -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) { -- GitLab