From 530f74b6d5f33a935b908078eec7cd631d6a8fe4 Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@7079 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 )