[wp-trac] [WordPress Trac] #48105: Move Site Health async checks to a REST API endpoint

WordPress Trac noreply at wordpress.org
Thu Oct 15 01:58:44 UTC 2020


#48105: Move Site Health async checks to a REST API endpoint
-------------------------+-----------------------
 Reporter:  Clorith      |       Owner:  Clorith
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  5.6
Component:  Site Health  |     Version:  5.2
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  rest-api
-------------------------+-----------------------
Changes (by TimothyBlynJacobs):

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


Comment:

 In [changeset:"49154" 49154]:
 {{{
 #!CommitTicketReference repository="" revision="49154"
 Site Health, REST API: Move async tests to REST API endpoints.

 This provides more flexibility when writing tests and benefits from
 running in a front-end context which is necessary for some tests like
 checking that updates are supported. Additionally, this provides a more
 robust interface for developers who want to integrate with Site Health
 tests.

 Because the `wp/v2` endpoint is reserved for modeling core entities, site
 health is registered in its own `wp-site-health/v1` namespace.

 The existing ajax actions have been maintained for backward compatibility.

 Props Clorith, chrisvanpatten, afragen, pokhriyal, TimothyBlynJacobs.
 Fixes #48105.
 }}}

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


More information about the wp-trac mailing list