[wp-trac] [WordPress Trac] #44534: wp_debug_mode() does not turn off display_errors for REST requests
WordPress Trac
noreply at wordpress.org
Sat Aug 11 12:29:35 UTC 2018
#44534: wp_debug_mode() does not turn off display_errors for REST requests
--------------------------+-----------------------------
Reporter: chrisl27 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: REST API | Version: 4.5
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: rest-api
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
* keywords: => needs-patch
* milestone: Awaiting Review => Future Release
Comment:
Confirmed, `wp_debug_mode()` indeed checks `REST_REQUEST` earlier than
it's defined.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44534#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list