[wp-trac] [WordPress Trac] #51547: Error checking in site health async cron tasks
WordPress Trac
noreply at wordpress.org
Tue Oct 20 14:49:06 UTC 2020
#51547: Error checking in site health async cron tasks
--------------------------------------+----------------------
Reporter: dd32 | Owner: desrosj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.6
Component: Site Health | Version: 5.4
Severity: normal | Resolution: fixed
Keywords: has-patch needs-dev-note | Focuses:
--------------------------------------+----------------------
Changes (by desrosj):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"49232" 49232]:
{{{
#!CommitTicketReference repository="" revision="49232"
Site Health: Improve the reliability of asynchronous tests.
This change adds additional logic to catch HTTP failures that do not
return a `WP_Error` object (for example, a wp-json REST API error error).
This also fixes instances where REST API callbacks performed from cron do
not work due to a lack of authentication by introducing a direct callback
route that asynchronous tests can register.
Props dd32, clorith, timothyblynjacobs.
Fixes #51547.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51547#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list