mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 08:11:52 +01:00
Change this string to one that already exists. props ericmann, fixes #16806.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1853efd70a
commit
ec382258b3
@ -1522,7 +1522,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||||||
return $this->error;
|
return $this->error;
|
||||||
|
|
||||||
if ( !current_user_can( 'upload_files' ) )
|
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');
|
do_action('xmlrpc_call', 'wp.getMediaItem');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user