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

git-svn-id: http://svn.automattic.com/wordpress/trunk@14895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-05-25 17:46:08 +00:00
parent 655eedbb42
commit 8d5ec9f30e

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 );