+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $authors, 'name' => 'post_author_override', 'selected' => empty($post_ID) ? $user_ID : $post->post_author) ); ?>
+
+
+
+
+
+
+
-
-
diff --git a/wp-admin/page-new.php b/wp-admin/page-new.php
index e481e16800..85fab1cd28 100644
--- a/wp-admin/page-new.php
+++ b/wp-admin/page-new.php
@@ -4,6 +4,10 @@ $title = __('New Page');
$parent_file = 'post-new.php';
$editing = true;
wp_enqueue_script('autosave');
+wp_enqueue_script('post');
+wp_enqueue_script('thickbox');
+wp_enqueue_script('media-upload');
+
require_once('admin-header.php');
?>
diff --git a/wp-admin/page.php b/wp-admin/page.php
index f71bf6306c..8f2d9820ad 100644
--- a/wp-admin/page.php
+++ b/wp-admin/page.php
@@ -52,6 +52,10 @@ case 'edit':
exit();
}
+ wp_enqueue_script('post');
+ wp_enqueue_script('thickbox');
+ wp_enqueue_script('media-upload');
+
if ( 'draft' == $post->post_status )
wp_enqueue_script('autosave');