[wp-trac] [WordPress Trac] #52011: 'The REST API encountered an unexpected result' should be a critical error
WordPress Trac
noreply at wordpress.org
Thu Dec 10 10:19:58 UTC 2020
#52011: 'The REST API encountered an unexpected result' should be a critical error
--------------------------+-----------------------------
Reporter: oglekler | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Site Health | Version:
Severity: normal | Keywords:
Focuses: performance |
--------------------------+-----------------------------
I deliberately made an error by replacing one of the core files with file
from a previous version (such things are happening when an update went
wrong for example), which results in a PHP warning, which can be hidden if
debug mode is disabled but lead to critical error from REST API and it can
easily be missed in recommendations because it isn't labelled as critical.
Usually, users don't see errors which are causing through REST API,
because they need to open a console firstly and they don't understand what
is wrong with their site.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52011>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list