From aa053ad0cc415754c4d7c9c113afb94b88c3edd3 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 12 Jan 2010 19:03:03 +0000 Subject: [PATCH] Always use post.php for form action. see #9674 git-svn-id: https://develop.svn.wordpress.org/trunk@12710 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit-form-advanced.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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');

-
+