WordPress.org

Make WordPress Core

Changeset 8737


Ignore:
Timestamp:
08/26/08 17:57:29 (6 years ago)
Author:
ryan
Message:

Add login_redirect filter. fixes #7002 for 2.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/wp-login.php

    r8412 r8737  
    424424 
    425425    $user = wp_signon('', $secure_cookie); 
     426 
     427    $redirect_to = apply_filters('login_redirect', $redirect_to, isset( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : '', $user); 
    426428 
    427429    if ( !is_wp_error($user) ) { 
Note: See TracChangeset for help on using the changeset viewer.