diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 3ec7a6d07c..782c525a19 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -164,10 +164,10 @@ if ('publish' != $post->post_status || 0 == $post_ID) {
diff --git a/wp-admin/edit-form.php b/wp-admin/edit-form.php index dd4bc75836..3837fa3f31 100644 --- a/wp-admin/edit-form.php +++ b/wp-admin/edit-form.php @@ -64,7 +64,7 @@ edCanvas = document.getElementById('content'); '; } ?> - + diff --git a/wp-pass.php b/wp-pass.php index d7d23a66ce..e1cb4e055e 100644 --- a/wp-pass.php +++ b/wp-pass.php @@ -7,5 +7,5 @@ if ( get_magic_quotes_gpc() ) // 10 days setcookie('wp-postpass_' . COOKIEHASH, $_POST['post_password'], time() + 864000, COOKIEPATH); -wp_redirect($_SERVER['HTTP_REFERER']); +wp_redirect(wp_get_referer()); ?> \ No newline at end of file