Make WordPress Core

Changeset 7019


Ignore:
Timestamp:
02/25/2008 08:24:44 AM (18 years ago)
Author:
ryan
Message:

Remove moderation.php. edit-comments.php now handles moderation

Location:
trunk/wp-admin
Files:
1 deleted
1 edited

Legend:

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

    r7017 r7019  
    3232
    3333$submenu['edit-comments.php'][5] = array(__('Comments'), 'edit_posts', 'edit-comments.php');
    34 $awaiting_mod = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '0'");
    35 $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');
    36 
    3734
    3835$submenu['edit.php'][5] = array(__('Posts'), 'edit_posts', 'edit.php');
Note: See TracChangeset for help on using the changeset viewer.