Make WordPress Core

Changeset 46319


Ignore:
Timestamp:
09/26/2019 02:28:15 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Login and Registration: Standardize on 6 * MONTH_IN_SECONDS over 180 * DAY_IN_SECONDS for admin_email_check_interval filter.

[45788] changed the first instance, but not the second.

Props tmatsuur.
Fixes #48144.

File:
1 edited

Legend:

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

    r46256 r46319  
    12381238                // to the admin email confirmation screen.
    12391239                /** This filter is documented in wp-login.php */
    1240                 $admin_email_check_interval = (int) apply_filters( 'admin_email_check_interval', 180 * DAY_IN_SECONDS );
     1240                $admin_email_check_interval = (int) apply_filters( 'admin_email_check_interval', 6 * MONTH_IN_SECONDS );
    12411241
    12421242                if ( $admin_email_check_interval > 0 && time() > $admin_email_lifespan ) {
Note: See TracChangeset for help on using the changeset viewer.