mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 18:24:31 +00:00
Categories with zero posts and posts with no comments no longer link to those empty views in the admin. fixes #3493
git-svn-id: https://develop.svn.wordpress.org/trunk@4659 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 ?>&c=1">
|
||||
<?php comments_number(__('0'), __('1'), __('%')) ?>
|
||||
</a></td>
|
||||
<td style="text-align: center">
|
||||
<?php comments_number(__('0'), "<a href='edit.php?p=$id&c=1'>" . __('1') . '</a>', "<a href='edit.php?p=$id&c=1'>" . __('%') . '</a>') ?>
|
||||
</td>
|
||||
<?php
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user