Remove left-over debug code after [46203].
See #46349. git-svn-id: https://develop.svn.wordpress.org/trunk@46204 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
388e7fe7f4
commit
66ef5ec15b
|
@ -1243,7 +1243,7 @@ switch ( $action ) {
|
|||
// to the admin email confirmation screen.
|
||||
/** This filter is documented in wp-login.php */
|
||||
$admin_email_check_interval = (int) apply_filters( 'admin_email_check_interval', 180 * DAY_IN_SECONDS );
|
||||
$admin_email_lifespan = 5;
|
||||
|
||||
if ( $admin_email_check_interval > 0 && time() > $admin_email_lifespan ) {
|
||||
$redirect_to = add_query_arg( 'action', 'confirm_admin_email', wp_login_url( $redirect_to ) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue