WordPress.org

Make WordPress Core

Changeset 9256


Ignore:
Timestamp:
10/20/08 19:39:08 (5 years ago)
Author:
ryan
Message:

Bring back awaiting moderation comment count. Needs styling.

File:
1 edited

Legend:

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

    r9201 r9256  
    5151    $submenu['page-new.php'][15] = array( __('Edit'), 'edit_pages', 'edit-pages.php' ); 
    5252 
    53 $menu[25] = array( __('Comments'), 'edit_posts', 'edit-comments.php', '', '', 'menu-comments', 'images/menu/comments.png' ); 
     53$menu[25] = 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', '', '', 'menu-comments', 'images/menu/comments.png' ); 
    5454    $submenu['edit-comments.php'][15] = array( __('Comments'), 'edit_posts', 'edit-comments.php' ); 
    5555 
Note: See TracChangeset for help on using the changeset viewer.