From 83665b2bf52ff2b01123d26d813aec3cb5a88208 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 11 Aug 2006 18:54:09 +0000 Subject: [PATCH] autosave fix ups git-svn-id: http://svn.automattic.com/wordpress/trunk@4087 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/page.php b/wp-admin/page.php index 51ec7c64c5..018295150c 100644 --- a/wp-admin/page.php +++ b/wp-admin/page.php @@ -86,7 +86,7 @@ case 'editpost': $page_ID = edit_post(); if ($_POST['save']) { - $location = wp_get_referer(); + $location = "page.php?action=edit&post=$page_ID"; } elseif ($_POST['updatemeta']) { $location = wp_get_referer() . '&message=2#postcustom'; } elseif ($_POST['deletemeta']) {