Remove left-over debug code after [46203].
See #46349. Built from https://develop.svn.wordpress.org/trunk@46204 git-svn-id: http://core.svn.wordpress.org/trunk@46016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0628245170
commit
ea27759d2b
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.3-alpha-46203';
|
$wp_version = '5.3-alpha-46204';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
|
@ -1243,7 +1243,7 @@ switch ( $action ) {
|
||||||
// to the admin email confirmation screen.
|
// to the admin email confirmation screen.
|
||||||
/** This filter is documented in wp-login.php */
|
/** 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_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 ) {
|
if ( $admin_email_check_interval > 0 && time() > $admin_email_lifespan ) {
|
||||||
$redirect_to = add_query_arg( 'action', 'confirm_admin_email', wp_login_url( $redirect_to ) );
|
$redirect_to = add_query_arg( 'action', 'confirm_admin_email', wp_login_url( $redirect_to ) );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue