WordPress.org

Make WordPress Core

Ticket #16806: 16806.diff

File 16806.diff, 568 bytes (added by ericmann, 4 years ago)

Normalize strings

  • wp-includes/class-wp-xmlrpc-server.php

     
    15221522                        return $this->error; 
    15231523 
    15241524                if ( !current_user_can( 'upload_files' ) ) 
    1525                         return new IXR_Error( 403, __( 'You are not allowed to upload files on this site.' ) ); 
     1525                        return new IXR_Error( 403, __( 'You are not allowed to upload files to this site.' ) ); 
    15261526 
    15271527                do_action('xmlrpc_call', 'wp.getMediaItem'); 
    15281528