[wp-trac] [WordPress Trac] #34915: Consider suppressing error notices for REST API requests
WordPress Trac
noreply at wordpress.org
Tue Feb 16 01:35:42 UTC 2016
#34915: Consider suppressing error notices for REST API requests
--------------------------------------+--------------------------
Reporter: danielbachhuber | Owner: rachelbaker
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.5
Component: REST API | Version:
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch | Focuses:
--------------------------------------+--------------------------
Changes (by rachelbaker):
* owner: => rachelbaker
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"36530"]:
{{{
#!CommitTicketReference repository="" revision="36530"
REST API: Don’t display errors during REST API requests.
Uses `wp_debug_mode()` to prevent response from being broken by debug
errors. Matches similar behavior of the XML-RPC API.
Props rockwell15.
Fixes #34915.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34915#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list