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:
parent
3880d93370
commit
3a9016a05b
|
@ -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