I18N: Merge duplicate "you must be logged in to comment" strings.
Props ramiy. Fixes #49251. Built from https://develop.svn.wordpress.org/trunk@47095 git-svn-id: http://core.svn.wordpress.org/trunk@46895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6730b3f716
commit
185e36d428
|
@ -3847,7 +3847,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||||
if ( ! $user ) {
|
if ( ! $user ) {
|
||||||
$logged_in = false;
|
$logged_in = false;
|
||||||
if ( $allow_anon && get_option( 'comment_registration' ) ) {
|
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 ) {
|
} elseif ( ! $allow_anon ) {
|
||||||
return $this->error;
|
return $this->error;
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.4-alpha-47094';
|
$wp_version = '5.4-alpha-47095';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue