diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index 4ab252577a..bf5d5b41d3 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -66,7 +66,7 @@ if (isset($_GET['s'])) { else $offset = 0; - $comments = $wpdb->get_results("SELECT * FROM $wpdb->comments ORDER BY comment_date DESC LIMIT $offset,20"); + $comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_approved = '0' OR comment_approved = '1' ORDER BY comment_date DESC LIMIT $offset,20"); } if ('view' == $mode) { if ($comments) { diff --git a/wp-admin/options-discussion.php b/wp-admin/options-discussion.php index dd87e9b586..1dd959818a 100644 --- a/wp-admin/options-discussion.php +++ b/wp-admin/options-discussion.php @@ -22,7 +22,7 @@ if ($action == 'retrospam') {