Changeset 3101

Show
Ignore:
Timestamp:
11/16/05 02:17:26 (3 years ago)
Author:
ryan
Message:

Don't show Publish button for published posts.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/edit-form-advanced.php

    r3015 r3101  
    196196<p class="submit"><?php echo $saveasdraft; ?> <input type="submit" name="submit" value="<?php _e('Save') ?>" style="font-weight: bold;" tabindex="4" />  
    197197<?php  
    198 if ('publish' != $post_status || 0 == $post_ID) { 
     198if ('publish' != $post->post_status || 0 == $post_ID) { 
    199199?> 
    200200<?php if ( current_user_can('publish_posts') ) : ?>