mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 18:54:29 +00:00
Plural contexts. Props nbachiyski. fixes #8128
git-svn-id: https://develop.svn.wordpress.org/trunk@11137 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -141,7 +141,7 @@ $status_links = array();
|
||||
$num_posts = wp_count_posts( 'post', 'readable' );
|
||||
$total_posts = array_sum( (array) $num_posts );
|
||||
$class = empty( $_GET['post_status'] ) ? ' class="current"' : '';
|
||||
$status_links[] = "<li><a href='edit.php' $class>" . sprintf( _n( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_posts ), number_format_i18n( $total_posts ) ) . '</a>';
|
||||
$status_links[] = "<li><a href='edit.php' $class>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_posts, 'posts' ), number_format_i18n( $total_posts ) ) . '</a>';
|
||||
|
||||
|
||||
foreach ( $post_stati as $status => $label ) {
|
||||
|
||||
Reference in New Issue
Block a user