[wp-trac] [WordPress Trac] #47336: Consider adding a JS/Client based Site Health Check for the REST API

WordPress Trac noreply at wordpress.org
Sun Oct 25 07:33:16 UTC 2020


#47336: Consider adding a JS/Client based Site Health Check for the REST API
-------------------------+------------------------------
 Reporter:  youknowriad  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Site Health  |     Version:  5.2
 Severity:  normal       |  Resolution:
 Keywords:  close        |     Focuses:  rest-api
-------------------------+------------------------------
Changes (by Clorith):

 * keywords:  site-health => close


Comment:

 I don't think this needs any other resolution, no.

 With the async tests now being triggered by JS and going through the REST
 API, and an improvement was also made to JS error handling at the same
 time, so any failures to use the REST API would be surfaced that way.

 There is still the `get_test_rest_availability` check in Site Health,
 which could be removed, but at the same time I think it does sort of make
 sense to leave it in, as you then get both sides of the coin checked out,
 and I have seen plugins and themes hit up various "local" REST endpoints
 for whatever reason via PHP code previously, so this would just be an
 added sanity check for such cases.

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


More information about the wp-trac mailing list