mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Introducing wp_redirect(), first cut. http://mosquito.wordpress.org/view.php?id=592 Props: Toby Simmons
git-svn-id: https://develop.svn.wordpress.org/trunk@2436 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+1
-1
@@ -184,7 +184,7 @@ default:
|
||||
wp_setcookie($user_login, $user_pass);
|
||||
}
|
||||
do_action('wp_login', $user_login);
|
||||
header("Location: $redirect_to");
|
||||
wp_redirect($redirect_to);
|
||||
exit();
|
||||
} else {
|
||||
if ($using_cookie)
|
||||
|
||||
Reference in New Issue
Block a user