Load jquery.js instead of interface.js. fixes #5544
git-svn-id: http://svn.automattic.com/wordpress/trunk@6513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0c67d2a1c1
commit
f56f0f64a4
|
@ -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