mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
655eedbb42
commit
8d5ec9f30e
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user