[wp-trac] [WordPress Trac] #54617: Add more details when site health checks fail

WordPress Trac noreply at wordpress.org
Wed Aug 3 12:00:47 UTC 2022


#54617: Add more details when site health checks fail
-------------------------------+---------------------
 Reporter:  dingo_d            |       Owner:  (none)
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  6.1
Component:  Site Health        |     Version:  5.2
 Severity:  normal             |  Resolution:
 Keywords:  needs-copy-review  |     Focuses:
-------------------------------+---------------------
Changes (by Clorith):

 * keywords:   => needs-copy-review


Comment:

 Adding the proposed new strings here for someone with better copy-editing
 skills than I to have a quick look over and give the all clear :)

 The Titles have not been modified, but the responses for number 2, and 3,
 have both been modified to simplify them, and provide a bit more details.

 ----

 1. If no problems are detected;
 Title:
 > The REST API is available

 Body:
 > The REST API is one way WordPress, and other applications, communicate
 with the server. One example is the block editor screen, which relies on
 this to display, and save, your posts and pages.

 ----

 2. If an error is encountered;
 Title:
 > The REST API encountered an error

 Body:
 > The REST API is one way WordPress, and other applications, communicate
 with the server. One example is the block editor screen, which relies on
 this to display, and save, your posts and pages.
 >
 > When testing the REST API, an error was encountered;
 >
 > REST API Endpoint: <URL being requested>
 > REST API Response: (<WP_HTTP API error code>) <WP_HTTP API error
 message>

 ----

 3. If an unexpected result was encountered;
 Title:
 > The REST API encountered an unexpected result

 Body:
 > The REST API is one way WordPress, and other applications, communicate
 with the server. One example is the block editor screen, which relies on
 this to display, and save, your posts and pages.
 >
 > When testing the REST API, an unexpected result came up;
 >
 > REST API Endpoint: <URL being requested>
 > REST API Response: (<HTTP Response code>) <Human readable error message
 for the HTTP response code>

 (Note: This was originally quite messy, as it would output ''all'' the
 markup returned, which was not very helpful)

 ----

 4. If the result was successful, but the data returned did not indicate
 that things are working as expected;
 Title:
 > The REST API did not behave correctly

 Body:
 > The REST API is one way WordPress, and other applications, communicate
 with the server. One example is the block editor screen, which relies on
 this to display, and save, your posts and pages.
 >
 > The REST API did not process the `context` query parameter correctly.

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


More information about the wp-trac mailing list