From 3a9016a05bc2efc7805888c6e29849d472103e9b Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 28 Feb 2008 00:16:49 +0000 Subject: [PATCH] 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 --- wp-admin/edit-pages.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/edit-pages.php b/wp-admin/edit-pages.php index dbb91a7e15..71e8b6182c 100644 --- a/wp-admin/edit-pages.php +++ b/wp-admin/edit-pages.php @@ -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 )