From 19e51b2aad2ed2e9abcbeb40b32eb88cfe11847f Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 25 May 2010 17:46:08 +0000 Subject: [PATCH] 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 --- wp-admin/edit-comments.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index ef4e6b9823..a47b983b19 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -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 );