Always show all comment status links in edit-comments.php so dynamic moderation can update the counts.

git-svn-id: https://develop.svn.wordpress.org/trunk@14895 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-05-25 17:46:08 +00:00
parent c0bf7ada51
commit 19e51b2aad
1 changed files with 0 additions and 2 deletions

View File

@ -219,8 +219,6 @@ foreach ( $stati as $status => $label ) {
if ( !isset( $num_comments->$status ) )
$num_comments->$status = 10;
if ( empty( $num_comments->$status ) )
continue;
$link = add_query_arg( 'comment_status', $status, $link );
if ( $post_id )
$link = add_query_arg( 'p', absint( $post_id ), $link );