Changeset 5075
- Timestamp:
- 03/21/07 22:20:48 (1 year ago)
- Files:
-
- branches/2.1/xmlrpc.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.1/xmlrpc.php
r5055 r5075 436 436 extract($actual_post); 437 437 438 if ( ('publish' == $post_status) && !current_user_can('publish_posts') ) 439 return new IXR_Error(401, 'Sorry, you do not have the right to publish this post.'); 440 438 441 $post_title = xmlrpc_getposttitle($content); 439 442 $post_category = xmlrpc_getpostcategory($content); … … 631 634 $post_more = $content_struct['mt_text_more']; 632 635 $post_status = $publish ? 'publish' : 'draft'; 636 637 638 if ( ('publish' == $post_status) && !current_user_can('publish_posts') ) 639 return new IXR_Error(401, 'Sorry, you do not have the right to publish this post.'); 633 640 634 641 if ($post_more) {
