Make WordPress Core

Ticket #6943: edit-page-form.diff

File edit-page-form.diff, 710 bytes (added by imwebgefunden, 16 years ago)
  • edit-page-form.php

    old new  
    7272<p><strong><?php _e('Publish Status') ?></strong></p>
    7373<p>
    7474<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 ) ) : ?>
    7676<option<?php selected( $post->post_status, 'publish' ); selected( $post->post_status, 'private' );?> value='publish'><?php _e('Published') ?></option>
    7777<?php else: ?>
    7878<option<?php selected( $post->post_status, 'private' ); ?> value='private'><?php _e('Published') ?></option>