Remove duplicate string with a typo, merge it with an existing string.
props pavelevap. fixes #32020. git-svn-id: https://develop.svn.wordpress.org/trunk@32209 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
80ca5b2b53
commit
e71959fc57
|
@ -2916,7 +2916,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||
return $this->error;
|
||||
|
||||
if ( !current_user_can( 'edit_posts' ) )
|
||||
return new IXR_Error( 401, __( 'Sorry, you must be able to edit posts to this site in order to view categories.' ) );
|
||||
return new IXR_Error( 401, __( 'Sorry, you must be able to edit posts on this site in order to view categories.' ) );
|
||||
|
||||
/** This action is documented in wp-includes/class-wp-xmlrpc-server.php */
|
||||
do_action( 'xmlrpc_call', 'wp.suggestCategories' );
|
||||
|
|
Loading…
Reference in New Issue