WordPress.org

Make WordPress Core

Changeset 2436 for trunk/wp-login.php


Ignore:
Timestamp:
03/13/2005 04:36:09 PM (15 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r2425 r2436  
    185185            }
    186186            do_action('wp_login', $user_login);
    187             header("Location: $redirect_to");
     187            wp_redirect($redirect_to);
    188188            exit();
    189189        } else {
Note: See TracChangeset for help on using the changeset viewer.