[wp-trac] [WordPress Trac] #50858: Site Health Check PHP notices with site_status_tests filter
WordPress Trac
noreply at wordpress.org
Mon Aug 17 02:01:19 UTC 2020
#50858: Site Health Check PHP notices with site_status_tests filter
---------------------------------------------+-----------------------------
Reporter: Ov3rfly | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5.1
Component: Site Health | Version: 5.2
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch commit | Focuses:
---------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"48808" 48808]:
{{{
#!CommitTicketReference repository="" revision="48808"
Site Health: Ensure that the tests returned by
`WP_Site_Health::get_tests()` always have the required array keys:
`direct` and `async`.
This avoids PHP notices if these keys were accidentally removed using the
`site_status_tests` filter.
Props khag7, Ov3rfly, desrosj, Clorith.
Fixes #50858.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50858#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list