WordPress.org

Make WordPress Core

Changeset 8736


Ignore:
Timestamp:
08/26/08 17:57:03 (7 years ago)
Author:
ryan
Message:

Add login_redirect filter. fixes #7002 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r8730 r8736  
    434434 
    435435    $user = wp_signon('', $secure_cookie); 
     436 
     437    $redirect_to = apply_filters('login_redirect', $redirect_to, isset( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : '', $user); 
    436438 
    437439    if ( !is_wp_error($user) ) { 
Note: See TracChangeset for help on using the changeset viewer.