Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
noblogs-wp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
39
Issues
39
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ai
noblogs-wp
Commits
de485a20
Commit
de485a20
authored
Sep 26, 2015
by
lechuck
Committed by
agata
Oct 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed wp-recaptcha error handling in show_recaptcha_in_registration
parent
7272f15c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
wp-content/plugins/wp-recaptcha-bp/recaptcha.php
wp-content/plugins/wp-recaptcha-bp/recaptcha.php
+3
-1
No files found.
wp-content/plugins/wp-recaptcha-bp/recaptcha.php
View file @
de485a20
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment