Changeset 8600 for trunk/wp-admin/edit-form-advanced.php
- Timestamp:
- 08/09/2008 05:36:14 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r8589 r8600 106 106 <p> 107 107 <select name='post_status' id='post_status' tabindex='4'> 108 <?php 109 // only show the publish menu item if they are allowed to publish posts or they are allowed to edit this post (accounts for 'edit_published_posts' capability) 108 <?php 109 // only show the publish menu item if they are allowed to publish posts or they are allowed to edit this post (accounts for 'edit_published_posts' capability) 110 110 if ( current_user_can('publish_posts') OR ( $post->post_status == 'publish' AND current_user_can('edit_post', $post->ID) ) ) : 111 111 ?>
Note: See TracChangeset
for help on using the changeset viewer.