WordPress.org

Make WordPress Core

Changeset 7857


Ignore:
Timestamp:
04/29/08 23:19:31 (6 years ago)
Author:
ryan
Message:

Use number_format_i18n on Awaiting Moderation count. fixes #6700 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/menu.php

    r7714 r7857  
    2424$awaiting_mod = $awaiting_mod->moderated; 
    2525$menu[15] = array(__('Design'), 'switch_themes', 'themes.php'); 
    26 $menu[20] = array( sprintf( __('Comments %s'), "<span id='awaiting-mod' class='count-$awaiting_mod'><span class='comment-count'>$awaiting_mod</span></span>" ), 'edit_posts', 'edit-comments.php'); 
     26$menu[20] = array( sprintf( __('Comments %s'), "<span id='awaiting-mod' class='count-$awaiting_mod'><span class='comment-count'>" . number_format_i18n($awaiting_mod) . "</span></span>" ), 'edit_posts', 'edit-comments.php'); 
    2727$menu[30] = array(__('Settings'), 'manage_options', 'options-general.php'); 
    2828$menu[35] = array(__('Plugins'), 'activate_plugins', 'plugins.php'); 
Note: See TracChangeset for help on using the changeset viewer.