Make WordPress Core


Ignore:
Timestamp:
01/21/2008 10:13:07 PM (17 years ago)
Author:
matt
Message:

Try a different comment bubble, fixes #5694. Hat tip: sambauers.

File:
1 edited

Legend:

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

    r6558 r6638  
    1717
    1818$awaiting_mod = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '0'");
    19 if ( 100 < $awaiting_mod )
    20     $awaiting_mod = '99+'; // to not blow out layout
    2119$menu[15] = array(__('Design'), 'switch_themes', 'themes.php');
    22 $menu[20] = array( sprintf( __('Comments %s'), "<span id='awaiting-mod' class='comment-count'>$awaiting_mod</span>" ), 'edit_posts', 'edit-comments.php');
     20$menu[20] = array( sprintf( __('Comments %s'), "<span id='awaiting-mod' class='comment-count'><span>$awaiting_mod</span></span>" ), 'edit_posts', 'edit-comments.php');
    2321$menu[30] = array(__('Plugins'), 'activate_plugins', 'plugins.php');
    2422if ( current_user_can('edit_users') )
Note: See TracChangeset for help on using the changeset viewer.