WordPress.org

Make WordPress Core

Opened 4 months ago

Closed 4 months ago

#48144 closed defect (bug) (fixed)

admin_email_check_interval filter default value

Reported by: tmatsuur Owned by: SergeyBiryukov
Milestone: 5.3 Priority: normal
Severity: normal Version: 5.3
Component: Login and Registration Keywords:
Focuses: Cc:
PR Number:

Description

Suggestion for admin_email_check_interval filter added in 5.3.

wp-login.php: 599

$admin_email_check_interval = (int) apply_filters( 'admin_email_check_interval', 6 * MONTH_IN_SECONDS );

wp-login.php: 1240

$admin_email_check_interval = (int) apply_filters( 'admin_email_check_interval', 180 * DAY_IN_SECONDS );

I think it should be unified to either.

Change History (2)

#1 @SergeyBiryukov
4 months ago

  • Component changed from General to Login and Registration
  • Milestone changed from Awaiting Review to 5.3

#2 @SergeyBiryukov
4 months ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 46319:

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.

Note: See TracTickets for help on using tickets.