mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 06:40:25 +00:00
Sometimes people have huge numbers of posts, let's always number_format them. Also, additional related link.
git-svn-id: https://develop.svn.wordpress.org/trunk@7485 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -93,7 +93,7 @@ foreach ( $post_stati as $status => $label ) {
|
||||
$class = ' class="current"';
|
||||
|
||||
$status_links[] = "<li><a href=\"edit-pages.php?post_status=$status\"$class>" .
|
||||
sprintf(__ngettext($label[2][0], $label[2][1], $num_posts->$status), $num_posts->$status) . '</a>';
|
||||
sprintf(__ngettext($label[2][0], $label[2][1], $num_posts->$status), number_format_i18n( $num_posts->$status ) ) . '</a>';
|
||||
}
|
||||
echo implode(' |</li>', $status_links) . '</li>';
|
||||
unset($status_links);
|
||||
|
||||
Reference in New Issue
Block a user