Add edit comments js to edit-pages when viewing a page's comments. see #6022

git-svn-id: http://svn.automattic.com/wordpress/trunk@7079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-02-28 00:16:49 +00:00
parent 3880d93370
commit 3a9016a05b
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ if ( isset($_GET['deleteit']) && isset($_GET['delete']) ) {
$title = __('Pages');
$parent_file = 'edit.php';
wp_enqueue_script('admin-forms');
if ( 1 == $_GET['c'] )
wp_enqueue_script( 'admin-comments' );
require_once('admin-header.php');
$post_stati = array( // array( adj, noun )