i18n formatting breaks dashboard count
|Reported by:||sarekofvulcan||Owned by:||ryan|
Description (last modified by lloydbudd)
I have 1812 posts in my blog, but my dashboard is reporting that I have "1 posts". I added the following code to wp-admin/index.php immediately after the $num_posts line:
echo ngettext( '%d post', '%d posts', $num_posts);
echo sprintf('%d posts', '1,812');
The answers were:
So, it appears that that comma makes sprintf unhappy.