WordPress.org

Make WordPress Core

Changeset 46324


Ignore:
Timestamp:
09/26/2019 03:44:10 PM (4 weeks ago)
Author:
desrosj
Message:

Site Health: Consolidate documentation for the admin_email_check_interval filter.

See #48153.

File:
1 edited

Legend:

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

    r46323 r46324  
    591591            /**
    592592             * Filters the interval for redirecting the user to the admin email confirmation screen.
    593              * If `0` (zero) is returned, the user will not be redirected.
     593             * If `0` (zero), or any :falsey" value is returned, the user will not be redirected.
    594594             *
    595595             * @since 5.3.0
     
    12441244                $admin_email_lifespan = (int) get_option( 'admin_email_lifespan' );
    12451245
    1246                 // If `0` (or anything "falsey" as it is cast to int) is returned, the user will not be redirected
    1247                 // to the admin email confirmation screen.
    12481246                /** This filter is documented in wp-login.php */
    12491247                $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.