Changeset 6625
- Timestamp:
- 01/16/2008 09:18:15 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r6624 r6625 98 98 <select name='post_status'> 99 99 <?php if ( current_user_can('publish_posts') ) : ?> 100 <?php ( 'private' == $post-post_status ) ? $pub_value = 'private' : $pub_value ='publish'; ?>100 <?php $pub_value = ( 'private' == $post->post_status ) ? 'private' : 'publish'; ?> 101 101 <option<?php selected( $post->post_status, 'publish' ); selected( $post->post_status, 'private' );?> value='<?php echo $pub_value ?>'><?php _e('Published') ?></option> 102 102 <?php else: ?>
Note: See TracChangeset
for help on using the changeset viewer.