Make WordPress Core


Ignore:
Timestamp:
12/21/2006 11:40:16 PM (20 years ago)
Author:
markjaquith
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit.php

    r4658 r4659  
    196196        case 'comments':
    197197                ?>
    198                 <td style="text-align: center"><a href="edit.php?p=<?php echo $id ?>&amp;c=1">
    199                         <?php comments_number(__('0'), __('1'), __('%')) ?>
    200                         </a></td>
     198                <td style="text-align: center">
     199                        <?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>') ?>
     200                        </td>
    201201                <?php
    202202                break;
Note: See TracChangeset for help on using the changeset viewer.