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:
parent
8e03708f05
commit
530f74b6d5
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue