From 232980bcee69409a02012d5aaa7ce18532c4aa37 Mon Sep 17 00:00:00 2001 From: matt 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: http://svn.automattic.com/wordpress/trunk@6465 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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) {