WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/28/2009 10:11:49 PM (11 years ago)
Author:
westi
Message:

Don't show the error on normal login page loads. See #8938.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/user.php

    r10437 r10455  
    6767    if ( is_a($user, 'WP_User') ) { return $user; }
    6868
    69     // XXX slight hack to handle initial load of wp-login.php
     69    // TODO slight hack to handle initial load of wp-login.php
    7070    if ( (empty($username) && empty($password)) && $GLOBALS['pagenow'] == 'wp-login.php' ) {
    7171        return $user;
Note: See TracChangeset for help on using the changeset viewer.