[wp-trac] [WordPress Trac] #49426: Site Health: the Rest API test doesn't display the WP_Error code
WordPress Trac
noreply at wordpress.org
Thu Feb 13 14:50:17 UTC 2020
#49426: Site Health: the Rest API test doesn't display the WP_Error code
-----------------------------+------------------------------
Reporter: afercia | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Site Health | Version: 5.2
Severity: normal | Resolution:
Keywords: has-screenshots | Focuses: ui
-----------------------------+------------------------------
Comment (by afercia):
Quickest way to reproduce:
- go to the Site Health page
- add `sleep( 10 );` to your `wp-config.php` file
- remember to pick the right wp-config file depending whether you're
running WordPress from the `src` or the`build` directory, in the former
case you'll also need to build
- this will make the test cURL request timeout
- refresh the Site Health page
- wait for 10 seconds :)
- see the REST API test listed in the critical issues and expand it
- see there's nothing displayed within the square brackets
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49426#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list