Changeset 3733 for trunk/wp-admin/menu.php
- Timestamp:
- 04/21/2006 04:54:01 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu.php
r3570 r3733 26 26 $submenu['edit.php'][20] = array(__('Comments'), 'edit_posts', 'edit-comments.php'); 27 27 $awaiting_mod = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '0'"); 28 $submenu['edit.php'][25] = array(sprintf(__("Awaiting Moderation (%s)"), $awaiting_mod), 'edit_posts', 'moderation.php');28 $submenu['edit.php'][25] = array(sprintf(__("Awaiting Moderation (%s)"), "<span id='awaitmod'>$awaiting_mod</span>"), 'edit_posts', 'moderation.php'); 29 29 $submenu['edit.php'][30] = array(__('Files'), 'edit_files', 'templates.php'); 30 30
Note: See TracChangeset
for help on using the changeset viewer.