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

git-svn-id: https://develop.svn.wordpress.org/trunk@7079 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-02-28 00:16:49 +00:00
parent 8e03708f05
commit 530f74b6d5
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 )