diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php
index d9bd357355..446b0dba3f 100644
--- a/wp-admin/edit-form-advanced.php
+++ b/wp-admin/edit-form-advanced.php
@@ -195,7 +195,7 @@ require_once('./admin-header.php');
-
+
diff --git a/wp-admin/post.php b/wp-admin/post.php
index fd76138a4f..df9e5a528c 100644
--- a/wp-admin/post.php
+++ b/wp-admin/post.php
@@ -161,12 +161,14 @@ case 'edit':
if ( 'post' == $post_type ) {
$parent_file = "edit.php";
$submenu_file = "edit.php";
+ $post_new_file = "post-new.php";
} else {
if ( isset( $post_type_object ) && $post_type_object->show_in_menu && $post_type_object->show_in_menu !== true )
$parent_file = $post_type_object->show_in_menu;
else
$parent_file = "edit.php?post_type=$post_type";
$submenu_file = "edit.php?post_type=$post_type";
+ $post_new_file = "post-new.php?post_type=$post_type";
}
if ( $last = wp_check_post_lock( $post->ID ) ) {