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
This commit is contained in:
Andrew Nacin 2013-12-06 20:12:10 +00:00
parent c45f49f2aa
commit 292391081a
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++;
}