diff --git a/wp-content/plugins/wp-recaptcha-bp/recaptcha.php b/wp-content/plugins/wp-recaptcha-bp/recaptcha.php index 2cb535b2ded7f2847ae2237fe1c992672b6fab89..96d4fee0be7e2157d792334cc3db79b22378b7f1 100644 --- a/wp-content/plugins/wp-recaptcha-bp/recaptcha.php +++ b/wp-content/plugins/wp-recaptcha-bp/recaptcha.php @@ -211,7 +211,9 @@ class ReCAPTCHAPlugin extends WPPlugin // if it's for wordpress mu, show the errors if ($this->is_multi_blog()) { - $error = $errors->get_error_message('captcha'); + if( is_wp_error( $errors ) ) { + $error = $errors->get_error_message('captcha'); + } echo '<label for="verification">Verification:</label>'; echo ($error ? '<p class="error">' . $error . '</p>' : ''); echo $this->get_recaptcha_html();