From 69719e894574801e102cf0ee2a6fdf7ad4ea8789 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 5 Dec 2008 23:49:47 +0000 Subject: [PATCH] Limit to 5 git-svn-id: https://develop.svn.wordpress.org/trunk@10080 602fd350-edb4-49c9-b593-d223f7449a82 --- 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++; } ?>