Introducing wp_redirect(), first cut. http://mosquito.wordpress.org/view.php?id=592 Props: Toby Simmons

git-svn-id: http://svn.automattic.com/wordpress/trunk@2436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2005-03-13 16:36:09 +00:00
parent 3825b18aff
commit 8b36e6be3a
8 changed files with 21 additions and 9 deletions

View File

@@ -52,6 +52,5 @@ header('Pragma: no-cache');
$location = (empty($_POST['redirect_to'])) ? $_SERVER["HTTP_REFERER"] : $_POST['redirect_to'];
header("Location: $location");
wp_redirect($location);
?>