Make WordPress Core

Changeset 3391


Ignore:
Timestamp:
01/02/2006 08:46:13 AM (19 years ago)
Author:
ryan
Message:

Fix redirect when already logged in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r3346 r3391  
    189189    do_action('wp_authenticate', array(&$user_login, &$user_pass));
    190190
    191     if ( $_POST ) {
     191    if ( $user_login && $user_pass ) {
    192192        $user = new WP_User(0, $user_login);
    193193   
Note: See TracChangeset for help on using the changeset viewer.