[wp-trac] [WordPress Trac] #64260: Default filter `doing_it_wrong_trigger_error` for REST request cause no notice at all.

WordPress Trac noreply at wordpress.org
Wed May 13 23:03:42 UTC 2026


#64260: Default filter `doing_it_wrong_trigger_error` for REST request cause no
notice at all.
--------------------------+-----------------------
 Reporter:  okvee         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  7.1
Component:  REST API      |     Version:  4.4
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  rest-api
--------------------------+-----------------------

Comment (by ioclaudio):

 Hi all,
 PR #10537 has been updated to address all review feedback (moved logging
 into rest_handle_doing_it_wrong(), added PHP Notice: prefix, included
 caller location via debug_backtrace()).
 https://github.com/WordPress/wordpress-develop/pull/10537

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


More information about the wp-trac mailing list