From af91c84737732ea922340283b356e19e4fc389d4 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 5 Dec 2008 23:49:47 +0000 Subject: [PATCH] Limit to 5 git-svn-id: http://svn.automattic.com/wordpress/trunk@10080 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/dashboard.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 716b38a8a2..fa61eb0ebf 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -411,9 +411,13 @@ function wp_dashboard_recent_comments() {
= 5 ) + break; if ( in_array($comment->comment_approved, $allowed_states) ) _wp_dashboard_recent_comments_row( $comment ); + $count++; } ?>