Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#48144 closed defect (bug) (fixed)

admin_email_check_interval filter default value

Reported by: tmatsuur's profile tmatsuur Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.3 Priority: normal
Severity: normal Version: 5.3
Component: Login and Registration Keywords:
Focuses: Cc:

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
5 years ago

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

#2 @SergeyBiryukov
5 years 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.