[wp-trac] [WordPress Trac] #47336: Consider adding a JS/Client based Site Health Check for the REST API
WordPress Trac
noreply at wordpress.org
Tue May 21 10:01:07 UTC 2019
#47336: Consider adding a JS/Client based Site Health Check for the REST API
--------------------------+-----------------------------
Reporter: youknowriad | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 5.2
Severity: normal | Keywords:
Focuses: rest-api |
--------------------------+-----------------------------
Related discussion
https://wordpress.slack.com/archives/C02RQC26G/p1558429627205600
At the moment, the Site Health Page includes a REST API check that is
based on a `wp_remote_get` call to the posts endpoint.
The problem with this approach is that it only catches issues if they're
on the PHP side of things. In the Gutenberg repo, we noticed that there
are a lot of issues related to Firewalls... breaking the REST API calls.
The idea here is to consider adding a check to the site health page
performing a REST API endpoint call triggered from the client (JS). That
way it will go through the regular flow of REST API endpoint calls
gutenberg and other clients will use.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47336>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list