[wp-trac] [WordPress Trac] #60014: REST endpoint: Output "server errors" if WP_DEBUG = true (register_rest_route)
WordPress Trac
noreply at wordpress.org
Tue Dec 5 16:27:22 UTC 2023
#60014: REST endpoint: Output "server errors" if WP_DEBUG = true
(register_rest_route)
-------------------------+------------------------------
Reporter: ecc | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 6.4
Severity: normal | Resolution:
Keywords: | Focuses: rest-api
-------------------------+------------------------------
Comment (by TimothyBlynJacobs):
We could use the existing `WP_DEBUG_DISPLAY` constant instead of
introducing a new one. But I'm not sure we really want to encourage folks
to display errors on their site. It's better to check the error log.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60014#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list