From e963f0fe5a726caec56d4161bc6bbd3491125f88 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Sat, 15 Jan 2005 00:56:42 +0000 Subject: [PATCH] http://mosquito.wordpress.org/view.php?id=687 git-svn-id: http://svn.automattic.com/wordpress/trunk@2096 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/index.php b/wp-admin/index.php index b720a234c5..e383ead29e 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -47,7 +47,7 @@ foreach ($scheduled as $post) { get_results("SELECT comment_author, comment_author_url, comment_ID, comment_post_ID FROM $wpdb->comments ORDER BY comment_date_gmt DESC LIMIT 5") ) : +if ( $comments = $wpdb->get_results("SELECT comment_author, comment_author_url, comment_ID, comment_post_ID FROM $wpdb->comments WHERE comment_approved = '1' ORDER BY comment_date_gmt DESC LIMIT 5") ) : ?>

»