Ticket #6943: edit-page-form.diff
File edit-page-form.diff, 710 bytes (added by , 16 years ago) |
---|
-
edit-page-form.php
old new 72 72 <p><strong><?php _e('Publish Status') ?></strong></p> 73 73 <p> 74 74 <select name='post_status' tabindex='4'> 75 <?php if ( current_user_can('publish_pages') ) : ?>75 <?php if ( current_user_can('publish_pages') || ( current_user_can('edit_published_pages') && 'publish' == $post->post_status ) ) : ?> 76 76 <option<?php selected( $post->post_status, 'publish' ); selected( $post->post_status, 'private' );?> value='publish'><?php _e('Published') ?></option> 77 77 <?php else: ?> 78 78 <option<?php selected( $post->post_status, 'private' ); ?> value='private'><?php _e('Published') ?></option>