[wp-trac] [WordPress Trac] #34915: Consider suppressing error notices for REST API requests

WordPress Trac noreply at wordpress.org
Fri Dec 11 16:30:52 UTC 2015


#34915: Consider suppressing error notices for REST API requests
----------------------------------------+-----------------------------
 Reporter:  danielbachhuber             |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  REST API                    |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+-----------------------------
Changes (by DrewAPicture):

 * keywords:  needs-patch => needs-patch good-first-bug


Comment:

 Looks like piggybacking on `wp_debug_mode()` would be the way to go,
 similarly, as @nacin [https://github.com/WP-API/WP-
 API/issues/477#issuecomment-55359558 pointed out] on GitHub, to how we
 suppress notices for XMLRPC requests.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34915#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list