diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 2b63039479..d4a6207626 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -85,9 +85,6 @@ if ( 0 == $post_ID ) { $post_type_object = get_post_type_object($post_type); $post_type_cap = $post_type_object->capability_type; -$form_post = 'post.php'; -if ( 'page' == $post_type ) - $form_post = 'page.php'; // All meta boxes should be defined and added before the first do_meta_boxes() call (or potentially during the do_meta_boxes action). require_once('includes/meta-boxes.php'); @@ -157,7 +154,7 @@ require_once('admin-header.php');

-
+