WordPress.org

Make WordPress Core

Ticket #20216: 20216a.patch

File 20216a.patch, 614 bytes (added by ramiy, 2 years ago)
  • class-wp-xmlrpc-server.php

     
    31373137                do_action('xmlrpc_call', 'blogger.setTemplate'); 
    31383138 
    31393139                if ( !current_user_can('edit_themes') ) 
    3140                         return new IXR_Error(401, __('Sorry, this user cannot edit the template.')); 
     3140                        return new IXR_Error(401, __('Sorry, this user can not edit the template.')); 
    31413141 
    31423142                /* warning: here we make the assumption that the blog's URL is on the same server */ 
    31433143                $filename = get_option('home') . '/';