WordPress.org

Make WordPress Core

Changeset 7958


Ignore:
Timestamp:
05/20/2008 04:40:49 PM (10 years ago)
Author:
ryan
Message:

Relocate signon to the top. Props AaronCampbell. fixes #7002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r7836 r7958  
    342342case 'login' :
    343343default:
     344    $user = wp_signon();
     345
    344346    if ( isset( $_REQUEST['redirect_to'] ) )
    345347        $redirect_to = $_REQUEST['redirect_to'];
    346348    else
    347349        $redirect_to = 'wp-admin/';
    348 
    349     $user = wp_signon();
    350350
    351351    if ( !is_wp_error($user) ) {
Note: See TracChangeset for help on using the changeset viewer.