diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php index c5f3d75f59..10b8041259 100644 --- a/wp-admin/edit-page-form.php +++ b/wp-admin/edit-page-form.php @@ -80,6 +80,7 @@ add_meta_box('pageparentdiv', __('Attributes'), 'page_attributes_meta_box', 'pag add_meta_box('postcustom', __('Custom Fields'), 'post_custom_meta_box', 'page', 'normal', 'core'); add_meta_box('commentstatusdiv', __('Discussion'), 'post_comment_status_meta_box', 'page', 'normal', 'core'); add_meta_box('slugdiv', __('Page Slug'), 'post_slug_meta_box', 'page', 'normal', 'core'); +add_meta_box('postthumbnaildiv', __('Post Thumbnail'), 'post_thumbnail_meta_box', 'page', 'side', 'low'); $authors = get_editable_user_ids( $current_user->id, true, 'page' ); // TODO: ROLE SYSTEM if ( $post->post_author && !in_array($post->post_author, $authors) ) diff --git a/wp-admin/page-new.php b/wp-admin/page-new.php index c73c7fcba8..eadcc4dbad 100644 --- a/wp-admin/page-new.php +++ b/wp-admin/page-new.php @@ -18,6 +18,7 @@ if ( user_can_richedit() ) add_thickbox(); wp_enqueue_script('media-upload'); wp_enqueue_script('word-count'); +wp_enqueue_script('set-post-thumbnail-handler'); if ( current_user_can('edit_pages') ) { $action = 'post'; diff --git a/wp-admin/page.php b/wp-admin/page.php index 4e3f640210..b660a43f05 100644 --- a/wp-admin/page.php +++ b/wp-admin/page.php @@ -108,6 +108,7 @@ case 'edit': add_thickbox(); wp_enqueue_script('media-upload'); wp_enqueue_script('word-count'); + wp_enqueue_script('set-post-thumbnail-handler'); if ( $last = wp_check_post_lock( $post->ID ) ) { add_action('admin_notices', '_admin_notice_post_locked' );