mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
Fix page edit redirect.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2271e198b0
commit
54d761eee0
@ -130,6 +130,8 @@ function edit_post() {
|
||||
endif;
|
||||
|
||||
add_meta($post_ID);
|
||||
|
||||
return $post_ID;
|
||||
}
|
||||
|
||||
function edit_comment() {
|
||||
|
@ -92,7 +92,7 @@ case 'edit':
|
||||
break;
|
||||
|
||||
case 'editpost':
|
||||
edit_post();
|
||||
$post_ID = edit_post();
|
||||
|
||||
if ($_POST['save']) {
|
||||
$location = $_SERVER['HTTP_REFERER'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user