Make WordPress Core


Ignore:
Timestamp:
10/11/2009 11:26:59 AM (16 years ago)
Author:
azaozz
Message:

Show the login form in a popup when autosave hits the login grace period, fixes #10704

File:
1 edited

Legend:

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

    r11951 r12021  
    539539        return false;
    540540    }
     541
     542    if ( $expiration < time() ) // AJAX/POST grace period set above
     543        $GLOBALS['login_grace_period'] = 1;
    541544
    542545    do_action('auth_cookie_valid', $cookie_elements, $user);
Note: See TracChangeset for help on using the changeset viewer.