Categories with zero posts and posts with no comments no longer link to those empty views in the admin. fixes #3493

git-svn-id: http://svn.automattic.com/wordpress/trunk@4659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith
2006-12-21 23:40:16 +00:00
parent 8a678f3841
commit dc17d069c0
2 changed files with 5 additions and 4 deletions

View File

@@ -195,9 +195,9 @@ foreach($posts_columns as $column_name=>$column_display_name) {
case 'comments':
?>
<td style="text-align: center"><a href="edit.php?p=<?php echo $id ?>&amp;c=1">
<?php comments_number(__('0'), __('1'), __('%')) ?>
</a></td>
<td style="text-align: center">
<?php comments_number(__('0'), "<a href='edit.php?p=$id&amp;c=1'>" . __('1') . '</a>', "<a href='edit.php?p=$id&amp;c=1'>" . __('%') . '</a>') ?>
</td>
<?php
break;