Changeset 10088 for trunk/wp-admin/edit-form-advanced.php
- Timestamp:
- 12/06/2008 11:10:24 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-form-advanced.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r9956 r10088 147 147 <?php _e('Visibility:'); ?> <b><span id="post-visibility-display"><?php 148 148 149 if ( !empty( $post->post_password ) ) { 149 if ( 'private' == $post->post_status ) { 150 $post->post_password = ''; 151 $visibility = 'private'; 152 $visibility_trans = __('Private'); 153 } elseif ( !empty( $post->post_password ) ) { 150 154 $visibility = 'password'; 151 155 $visibility_trans = __('Password protected'); 152 } elseif ( 'private' == $post->post_status ) {153 $visibility = 'private';154 $visibility_trans = __('Private');155 156 } elseif ( is_sticky( $post->ID ) ) { 156 157 $visibility = 'public';
Note: See TracChangeset
for help on using the changeset viewer.