Changeset 7404
- Timestamp:
- 03/19/08 21:33:47 (6 months ago)
- Files:
-
- trunk/wp-admin/edit-post-rows.php (modified) (1 diff)
- trunk/wp-includes/post-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/edit-post-rows.php
r7373 r7404 74 74 ?> 75 75 <td><strong><a class="row-title" href="post.php?action=edit&post=<?php the_ID(); ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), $title)); ?>"><?php echo $title ?></a></strong> 76 <?php if ( 'private' == $post->post_status) _e(' — <strong>Private</strong>');?></td>76 <?php if ( !empty($post->post_password) ) { _e(' — <strong>Protected</strong>'); } elseif ('private' == $post->post_status) { _e(' — <strong>Private</strong>'); } ?></td> 77 77 <?php 78 78 break; trunk/wp-includes/post-template.php
r7263 r7404 55 55 56 56 $title = $post->post_title; 57 if ( !empty($post->post_password) ) 58 $title = sprintf(__('Protected: %s'), $title); 59 else if ( isset($post->post_status) && 'private' == $post->post_status ) 60 $title = sprintf(__('Private: %s'), $title); 61 57 58 if ( !is_admin() ) { 59 if ( !empty($post->post_password) ) 60 $title = sprintf(__('Protected: %s'), $title); 61 else if ( isset($post->post_status) && 'private' == $post->post_status ) 62 $title = sprintf(__('Private: %s'), $title); 63 } 62 64 return apply_filters( 'the_title', $title ); 63 65 }
