[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:21:32 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:
fixed-major |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"48810" 48810]:
{{{
#!CommitTicketReference repository="" revision="48810"
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.
Merges [48808] to the 5.5 branch.
Fixes #50858.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50858#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list