WordPress.org

Make WordPress Core

Changeset 7858


Ignore:
Timestamp:
04/29/08 23:27:53 (7 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/wp-admin/menu.php

    r7715 r7858  
    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.