WordPress.org

Make WordPress Core

Changeset 23691


Ignore:
Timestamp:
03/13/2013 11:32:52 PM (7 years ago)
Author:
azaozz
Message:

Logged out warnings: clear previous errors when interim_login is set, see #23295

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r23683 r23691  
    649649
    650650    $errors = $user;
    651     // Clear errors if loggedout is set.
    652     if ( !empty($_GET['loggedout']) || $reauth )
     651    // Clear errors if loggedout or interim_login is set.
     652    if ( !empty($_GET['loggedout']) || $reauth || $interim_login )
    653653        $errors = new WP_Error();
    654654
Note: See TracChangeset for help on using the changeset viewer.