From 93cc3c8e108e213ac3d983784e460b25853879df Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sat, 22 Dec 2007 07:34:14 +0000 Subject: [PATCH] Only show comments on pages meant to show one entry, rather than any edit.php query which happens to have one result. git-svn-id: https://develop.svn.wordpress.org/trunk@6465 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 6e8d978822..ee7e9759dc 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -129,7 +129,7 @@ if ( $month_count && !( 1 == $month_count && 0 == $arc_result[0]->mmonth ) ) { ? get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $id AND comment_approved != 'spam' ORDER BY comment_date"); if ($comments) {