Ticket #16806: 16806.diff
File 16806.diff, 568 bytes (added by , 14 years ago) |
---|
-
wp-includes/class-wp-xmlrpc-server.php
1522 1522 return $this->error; 1523 1523 1524 1524 if ( !current_user_can( 'upload_files' ) ) 1525 return new IXR_Error( 403, __( 'You are not allowed to upload files onthis site.' ) );1525 return new IXR_Error( 403, __( 'You are not allowed to upload files to this site.' ) ); 1526 1526 1527 1527 do_action('xmlrpc_call', 'wp.getMediaItem'); 1528 1528