autosave fix ups
git-svn-id: http://svn.automattic.com/wordpress/trunk@4087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7ac67243e8
commit
83665b2bf5
|
@ -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']) {
|
||||
|
|
Loading…
Reference in New Issue