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.

Built from https://develop.svn.wordpress.org/trunk@26741


git-svn-id: http://core.svn.wordpress.org/trunk@26630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-12-06 20:13:11 +00:00
parent 5c8e50a240
commit 61b7831f56
1 changed files with 2 additions and 1 deletions

View File

@ -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 "<li{$hidden}>$text</li>";
$i++;
}