[wp-trac] [WordPress Trac] #48333: Show success notice when the admin verification screen is "snoozed"

WordPress Trac noreply at wordpress.org
Tue Jul 7 09:22:29 UTC 2020


#48333: Show success notice when the admin verification screen is "snoozed"
--------------------------+---------------------------------
 Reporter:  desrosj       |       Owner:  whyisjake
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  5.5
Component:  Site Health   |     Version:  5.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  ui, administration
--------------------------+---------------------------------
Changes (by SergeyBiryukov):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 The new message does not respect the interval set via the
 `admin_email_remind_interval` filter, it will always display "after 3
 days", regardless of the actual value.

 A couple of options to resolve this:
 * Calculate the number of days `$remind_interval` corresponds to.
 * Use `human_time_diff()`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48333#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list