mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Introducing wp_safe_redirect(). fixes #4606 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6131 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+1
-1
@@ -7,5 +7,5 @@ if ( get_magic_quotes_gpc() )
|
||||
// 10 days
|
||||
setcookie('wp-postpass_' . COOKIEHASH, $_POST['post_password'], time() + 864000, COOKIEPATH);
|
||||
|
||||
wp_redirect(wp_get_referer());
|
||||
wp_safe_redirect(wp_get_referer());
|
||||
?>
|
||||
Reference in New Issue
Block a user