mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
ngettext fixes from nbachiyski. fixes #6261
git-svn-id: https://develop.svn.wordpress.org/trunk@7397 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -97,7 +97,7 @@ foreach ( $post_stati as $status => $label ) {
|
||||
$class = ' class="current"';
|
||||
|
||||
$status_links[] = "<li><a href=\"edit.php?post_status=$status\"$class>" .
|
||||
sprintf($label[2], $num_posts->$status) . '</a>';
|
||||
sprintf(__ngettext($label[2][0], $label[2][1], $num_posts->$status), $num_posts->$status) . '</a>';
|
||||
}
|
||||
echo implode(' |</li>', $status_links) . '</li>';
|
||||
unset($status_links);
|
||||
|
||||
Reference in New Issue
Block a user