Changeset 3560
- Timestamp:
- 02/20/2006 09:00:19 PM (19 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r3510 r3560 100 100 <h3 class="dbx-handle"><?php _e('Post Status') ?></h3> 101 101 <div class="dbx-content"><?php if ( current_user_can('publish_posts') ) : ?> 102 <label for="post_status_publish" class="selectit"><input id="post_status_publish" name="post_status" type="radio" value="publish" <?php checked($post->post_status, 'publish'); ?> /> <?php _e('Published') ?></label>102 <label for="post_status_publish" class="selectit"><input id="post_status_publish" name="post_status" type="radio" value="publish" <?php checked($post->post_status, 'publish'); checked($post->post_status, 'future'); ?> /> <?php _e('Published') ?></label> 103 103 <?php endif; ?> 104 104 <label for="post_status_draft" class="selectit"><input id="post_status_draft" name="post_status" type="radio" value="draft" <?php checked($post->post_status, 'draft'); ?> /> <?php _e('Draft') ?></label> -
trunk/wp-admin/edit-page-form.php
r3550 r3560 59 59 <h3 class="dbx-handle"><?php _e('Page Status') ?></h3> 60 60 <div class="dbx-content"><?php if ( current_user_can('publish_posts') ) : ?> 61 <label for="post_status_publish" class="selectit"><input id="post_status_publish" name="post_status" type="radio" value="publish" <?php checked($post->post_status, 'publish'); ?> /> <?php _e('Published') ?></label>61 <label for="post_status_publish" class="selectit"><input id="post_status_publish" name="post_status" type="radio" value="publish" <?php checked($post->post_status, 'publish'); checked($post->post_status, 'future'; ?> /> <?php _e('Published') ?></label> 62 62 <?php endif; ?> 63 63 <label for="post_status_draft" class="selectit"><input id="post_status_draft" name="post_status" type="radio" value="draft" <?php checked($post->post_status, 'draft'); ?> /> <?php _e('Draft') ?></label>
Note: See TracChangeset
for help on using the changeset viewer.