I18N: Merge duplicate "you must be logged in to comment" strings.
Props ramiy. Fixes #49251. git-svn-id: https://develop.svn.wordpress.org/trunk@47095 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ad2261bfdd
commit
8753725a3d
@ -3847,7 +3847,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
if ( ! $user ) {
|
||||
$logged_in = false;
|
||||
if ( $allow_anon && get_option( 'comment_registration' ) ) {
|
||||
return new IXR_Error( 403, __( 'You must be registered to comment.' ) );
|
||||
return new IXR_Error( 403, __( 'Sorry, you must be logged in to comment.' ) );
|
||||
} elseif ( ! $allow_anon ) {
|
||||
return $this->error;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user