Make WordPress Core


Ignore:
Timestamp:
02/28/2014 09:47:53 PM (10 years ago)
Author:
johnbillion
Message:

Add some missing number i18n in Walker_Category and Walker_CategoryDropdown. Fixes #22745.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/category-template.php

    r27065 r27329  
    890890
    891891        if ( !empty($show_count) )
    892             $link .= ' (' . intval($category->count) . ')';
     892            $link .= ' (' . number_format_i18n( $category->count ) . ')';
    893893
    894894        if ( 'list' == $args['style'] ) {
     
    974974        $output .= $pad.$cat_name;
    975975        if ( $args['show_count'] )
    976             $output .= '  ('. $category->count .')';
     976            $output .= '  ('. number_format_i18n( $category->count ) .')';
    977977        $output .= "</option>\n";
    978978    }
Note: See TracChangeset for help on using the changeset viewer.