Make WordPress Core


Ignore:
Timestamp:
01/29/2008 04:43:20 PM (18 years ago)
Author:
ryan
Message:

Comment bubble count fix from nbachiyski. fixes #5694

File:
1 edited

Legend:

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

    r6661 r6678  
    3434$submenu['edit-comments.php'][5] = array(__('Comments'), 'edit_posts', 'edit-comments.php');
    3535$awaiting_mod = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '0'");
    36 $submenu['edit-comments.php'][25] = array(sprintf(__("Awaiting Moderation (%s)"), "<span id='awaitmod' class='comment-count'>$awaiting_mod</span>"), 'edit_posts', 'moderation.php');
     36$submenu['edit-comments.php'][25] = array(sprintf(__("Awaiting Moderation (%s)"), "<span id='awaitmod' class='comment-count'><span>$awaiting_mod</span></span>"), 'edit_posts', 'moderation.php');
    3737
    3838
Note: See TracChangeset for help on using the changeset viewer.