diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index 179af5580b..7fcb881cc6 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -262,7 +262,6 @@ $page_links = paginate_links( array( -\n"; ?> comment_ID:unapproved:e7e7d3:e7e7d3:new=approved vim-a' title='" . __( 'Approve this comment' ) . "'>" . __( 'Approve' ) . ''; $actions['unapprove'] = "" . __( 'Unapprove' ) . ''; - if ( $comment_status ) { // not looking at all comments + if ( $comment_status && 'all' != $comment_status ) { // not looking at all comments if ( 'approved' == $the_comment_status ) { $actions['unapprove'] = "" . __( 'Unapprove' ) . ''; unset($actions['approve']);