mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Grammar fixes from takayukister and thenlich. fixes #5992
git-svn-id: https://develop.svn.wordpress.org/trunk@7026 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+1
-1
@@ -636,7 +636,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
|
||||
set_current_user(0, $username);
|
||||
if( !current_user_can("manage_categories") ) {
|
||||
return new IXR_Error( 401, __( "Sorry, you do not the right to delete a category." ) );
|
||||
return new IXR_Error( 401, __( "Sorry, you do not have the right to delete a category." ) );
|
||||
}
|
||||
|
||||
return wp_delete_category( $category_id );
|
||||
|
||||
Reference in New Issue
Block a user