From 7daf4f8b2646f036ace2d1c4adbc110126eb5851 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sat, 15 Jan 2005 00:56:42 +0000 Subject: [PATCH] http://mosquito.wordpress.org/view.php?id=687 git-svn-id: https://develop.svn.wordpress.org/trunk@2096 602fd350-edb4-49c9-b593-d223f7449a82 --- 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") ) : ?>

»