Ticket #20216: 20216a.patch
| File 20216a.patch, 614 bytes (added by ramiy, 14 months ago) |
|---|
-
class-wp-xmlrpc-server.php
3137 3137 do_action('xmlrpc_call', 'blogger.setTemplate'); 3138 3138 3139 3139 if ( !current_user_can('edit_themes') ) 3140 return new IXR_Error(401, __('Sorry, this user can not edit the template.'));3140 return new IXR_Error(401, __('Sorry, this user can not edit the template.')); 3141 3141 3142 3142 /* warning: here we make the assumption that the blog's URL is on the same server */ 3143 3143 $filename = get_option('home') . '/';
