WordPress.org

Make WordPress Core

Changeset 6420


Ignore:
Timestamp:
12/19/2007 10:22:21 PM (14 years ago)
Author:
ryan
Message:

Show session expired message only when cookie is set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r6396 r6420  
    307307        $user = wp_validate_auth_cookie();
    308308        if ( !$user ) {
    309             if ( empty($_GET['loggedout']) )
     309            if ( empty($_GET['loggedout']) && !empty($_COOKIE[AUTH_COOKIE]) )
    310310                $errors['expiredsession'] = __('Your session has expired.');
    311311        } else {
Note: See TracChangeset for help on using the changeset viewer.