From 6def67ad04cbae38f9cdd0316cf8765b2e8210ee Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Fri, 28 Feb 2014 21:47:53 +0000 Subject: [PATCH] Add some missing number i18n in `Walker_Category` and `Walker_CategoryDropdown`. Fixes #22745. git-svn-id: https://develop.svn.wordpress.org/trunk@27329 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/category-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/category-template.php b/src/wp-includes/category-template.php index 00b04df42e..1733f4077a 100644 --- a/src/wp-includes/category-template.php +++ b/src/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"; } }