From 292391081a9bb43c73da5edb5ea5b93842e7d416 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 6 Dec 2013 20:12:10 +0000 Subject: [PATCH] Dashboard: Restore a line that vanished from my editor to print recently published posts. Also fix an off-by-one error. see [26704]. see #26066. git-svn-id: https://develop.svn.wordpress.org/trunk@26741 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/dashboard.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php index 773ec5f8fa..e3a0705738 100644 --- a/src/wp-admin/includes/dashboard.php +++ b/src/wp-admin/includes/dashboard.php @@ -606,7 +606,8 @@ function wp_dashboard_recent_posts( $args ) { _draft_or_post_title() ); - $hidden = $i > $args['display'] ? ' class="hidden"' : ''; + $hidden = $i >= $args['display'] ? ' class="hidden"' : ''; + echo "$text"; $i++; }