Do not double-mark posts as "Private" in the admin. fixes #3146

git-svn-id: https://develop.svn.wordpress.org/trunk@7404 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith
2008-03-19 21:33:47 +00:00
parent 222de67dca
commit df6429885e
2 changed files with 7 additions and 5 deletions

View File

@@ -73,7 +73,7 @@ foreach($posts_columns as $column_name=>$column_display_name) {
case 'title':
?>
<td><strong><a class="row-title" href="post.php?action=edit&amp;post=<?php the_ID(); ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), $title)); ?>"><?php echo $title ?></a></strong>
<?php if ('private' == $post->post_status) _e(' &#8212; <strong>Private</strong>'); ?></td>
<?php if ( !empty($post->post_password) ) { _e(' &#8212; <strong>Protected</strong>'); } elseif ('private' == $post->post_status) { _e(' &#8212; <strong>Private</strong>'); } ?></td>
<?php
break;