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:
Andrew Nacin 2011-03-24 16:12:47 +00:00
parent 19d8af83d3
commit a1822ad76c

View File

@ -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');