Ticket #10764: 10764.diff
File 10764.diff, 518 bytes (added by , 13 years ago) |
---|
-
wp-includes/class-wp-xmlrpc-server.php
2011 2011 2012 2012 extract($actual_post, EXTR_SKIP); 2013 2013 2014 $post_status = $publish ? 'publish' : 'draft'; 2015 2014 2016 if ( ('publish' == $post_status) && !current_user_can('publish_posts') ) 2015 2017 return new IXR_Error(401, __('Sorry, you do not have the right to publish this post.')); 2016 2018