Load jquery.js instead of interface.js. fixes #5544
git-svn-id: https://develop.svn.wordpress.org/trunk@6513 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5ce8d7be6b
commit
80b6586f90
@ -4,7 +4,7 @@ $title = __('New Page');
|
||||
$parent_file = 'post-new.php';
|
||||
$editing = true;
|
||||
wp_enqueue_script('prototype');
|
||||
wp_enqueue_script('interface');
|
||||
wp_enqueue_script('jquery');
|
||||
wp_enqueue_script('autosave');
|
||||
require_once('admin-header.php');
|
||||
?>
|
||||
|
@ -54,7 +54,7 @@ case 'edit':
|
||||
|
||||
if($post->post_status == 'draft') {
|
||||
wp_enqueue_script('prototype');
|
||||
wp_enqueue_script('interface');
|
||||
wp_enqueue_script('jquery');
|
||||
wp_enqueue_script('autosave');
|
||||
}
|
||||
require_once('admin-header.php');
|
||||
|
@ -4,7 +4,7 @@ $title = __('Create New Post');
|
||||
$parent_file = 'post-new.php';
|
||||
$editing = true;
|
||||
wp_enqueue_script('prototype');
|
||||
wp_enqueue_script('interface');
|
||||
wp_enqueue_script('jquery');
|
||||
wp_enqueue_script('autosave');
|
||||
require_once ('./admin-header.php');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user