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:
Sergey Biryukov 2015-04-20 15:26:04 +00:00
parent 80ca5b2b53
commit e71959fc57
1 changed files with 1 additions and 1 deletions

View File

@ -2916,7 +2916,7 @@ class wp_xmlrpc_server extends IXR_Server {
return $this->error; return $this->error;
if ( !current_user_can( 'edit_posts' ) ) 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 */ /** This action is documented in wp-includes/class-wp-xmlrpc-server.php */
do_action( 'xmlrpc_call', 'wp.suggestCategories' ); do_action( 'xmlrpc_call', 'wp.suggestCategories' );