diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index 137937ceee..43bc15b133 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -149,6 +149,9 @@ function get_default_post_to_edit() { $post->post_content = apply_filters('default_content', $content); $post->post_title = apply_filters('default_title', $edited_post_title); $post->post_excerpt = apply_filters('default_excerpt', $excerpt); + $post->page_template = 'default'; + $post->post_parent = 0; + $post->menu_order = 0; return $post; } diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php index a906f3a70e..87cd25898f 100644 --- a/wp-admin/edit-page-form.php +++ b/wp-admin/edit-page-form.php @@ -115,8 +115,8 @@ edCanvas = document.getElementById('content');