[wp-trac] [WordPress Trac] #42061: Add new utility function for checking if the current request is a REST API request.

WordPress Trac noreply at wordpress.org
Thu Jun 1 11:42:44 UTC 2023


#42061: Add new utility function for checking if the current request is a REST API
request.
------------------------------------+------------------------------------
 Reporter:  lots.0.logs             |       Owner:  TimothyBlynJacobs
     Type:  enhancement             |      Status:  assigned
 Priority:  normal                  |   Milestone:  Future Release
Component:  Bootstrap/Load          |     Version:  4.9
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  rest-api, performance
------------------------------------+------------------------------------

Comment (by Cybr):

 Please consider at least implementing
 [https://core.trac.wordpress.org/attachment/ticket/42061/42061-add-wp-
 doing-rest-filterable-function.patch 42061-add-wp-doing-rest-filterable-
 function.patch]. There's always time to overhaul the codebase to use this
 new API function.

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


More information about the wp-trac mailing list