mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Change this string to one that already exists. props ericmann, fixes #16806.
git-svn-id: https://develop.svn.wordpress.org/trunk@17554 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1522,7 +1522,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
return $this->error;
|
||||
|
||||
if ( !current_user_can( 'upload_files' ) )
|
||||
return new IXR_Error( 403, __( 'You are not allowed to upload files on this site.' ) );
|
||||
return new IXR_Error( 403, __( 'You are not allowed to upload files to this site.' ) );
|
||||
|
||||
do_action('xmlrpc_call', 'wp.getMediaItem');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user