From 6ce726545b46b47a75c79b85e1fdb78ce43f16f9 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 12 Jan 2010 19:03:03 +0000 Subject: [PATCH] Always use post.php for form action. see #9674 git-svn-id: http://svn.automattic.com/wordpress/trunk@12710 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 2b6303947..d4a620762 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');

-
+