diff --git a/src/wp-login.php b/src/wp-login.php
index 5975a3d58f..c0abcb077a 100644
a
|
b
|
function wp_login_viewport_meta() { |
422 | 422 | <?php |
423 | 423 | } |
424 | 424 | |
425 | | // |
426 | | // Main. |
427 | | // |
428 | | |
| 425 | // Check request and redirect. |
429 | 426 | $action = isset( $_REQUEST['action'] ) ? $_REQUEST['action'] : 'login'; |
430 | 427 | $errors = new WP_Error(); |
431 | 428 | |
… |
… |
switch ( $action ) { |
1276 | 1273 | if ( is_a( $user, 'WP_User' ) && $user->exists() && $user->has_cap( 'manage_options' ) ) { |
1277 | 1274 | $admin_email_lifespan = (int) get_option( 'admin_email_lifespan' ); |
1278 | 1275 | |
1279 | | // If `0` (or anything "falsey" as it is cast to int) is returned, the user will not be redirected |
1280 | | // to the admin email confirmation screen. |
| 1276 | /* |
| 1277 | * If `0` (or anything "falsey" as it is cast to int) is returned, the user will not be redirected |
| 1278 | * to the admin email confirmation screen. |
| 1279 | */ |
1281 | 1280 | /** This filter is documented in wp-login.php */ |
1282 | 1281 | $admin_email_check_interval = (int) apply_filters( 'admin_email_check_interval', 6 * MONTH_IN_SECONDS ); |
1283 | 1282 | |