From 412ea898c0dcb15cd17e2ebaef2722fbd2c677bd Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Fri, 28 Feb 2014 21:48:13 +0000 Subject: [PATCH] Add some missing number i18n in `Walker_Category` and `Walker_CategoryDropdown`. Fixes #22745. Built from https://develop.svn.wordpress.org/trunk@27329 git-svn-id: http://core.svn.wordpress.org/trunk@27181 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/category-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index 00b04df42e..1733f4077a 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -889,7 +889,7 @@ class Walker_Category extends Walker { } if ( !empty($show_count) ) - $link .= ' (' . intval($category->count) . ')'; + $link .= ' (' . number_format_i18n( $category->count ) . ')'; if ( 'list' == $args['style'] ) { $output .= "\tcount .')'; + $output .= '  ('. number_format_i18n( $category->count ) .')'; $output .= "\n"; } }