[wp-trac] [WordPress Trac] #50145: Site Health - Defensively handle empty/improperly formed test results
WordPress Trac
noreply at wordpress.org
Sun Nov 8 09:50:21 UTC 2020
#50145: Site Health - Defensively handle empty/improperly formed test results
---------------------------------------+-----------------------------
Reporter: dogwithblog | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.6
Component: Site Health | Version:
Severity: normal | Resolution: fixed
Keywords: has-screenshots has-patch | Focuses:
---------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"49537" 49537]:
{{{
#!CommitTicketReference repository="" revision="49537"
Site Health: Validate the test result data format in JS before using it.
This will discard any invalid responses instead of causing fatal errors.
It also makes badges optional, on the same basis as actions are optional.
They are expected, but there may be situations where they are not present.
Props Clorith, dogwithblog, kraftbj, whyisjake, SergeyBiryukov.
Fixes #50145.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50145#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list