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:
parent
c0bf7ada51
commit
19e51b2aad
@ -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…
x
Reference in New Issue
Block a user