Make WordPress Core


Ignore:
Timestamp:
03/17/2022 04:55:48 AM (2 years ago)
Author:
peterwilsoncc
Message:

Registration/Login: Coding standards fixes for wp-login.php.

Props alkesh7, Presskopp, audrasjb.
Fixes #54746.
See #54728.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r52450 r52945  
    423423}
    424424
    425 //
    426 // Main.
    427 //
    428 
     425// Check request and redirect.
    429426$action = isset( $_REQUEST['action'] ) ? $_REQUEST['action'] : 'login';
    430427$errors = new WP_Error();
     
    12771274                $admin_email_lifespan = (int) get_option( 'admin_email_lifespan' );
    12781275
    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                 */
    12811280                /** This filter is documented in wp-login.php */
    12821281                $admin_email_check_interval = (int) apply_filters( 'admin_email_check_interval', 6 * MONTH_IN_SECONDS );
Note: See TracChangeset for help on using the changeset viewer.