Changeset 16802
- Timestamp:
- 12/08/2010 05:07:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-xmlrpc-server.php
r16801 r16802 3278 3278 do_action('xmlrpc_call', 'mt.publishPost'); 3279 3279 3280 if ( !current_user_can('publish_post ', $post_ID) )3280 if ( !current_user_can('publish_posts') || !current_user_can('edit_post', $post_ID) ) 3281 3281 return new IXR_Error(401, __('Sorry, you cannot publish this post.')); 3282 3282
Note: See TracChangeset
for help on using the changeset viewer.