[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
Sun Oct 25 05:03:21 UTC 2020


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

 * focuses:  rest-api => rest-api, performance
 * milestone:  Future Release => 5.7


Comment:

 I'm going to attempt to take a look at this for 5.7 I agree with @iandunn
 that we'd need to do something like that to allow for checking if this is
 a REST API request early enough.

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


More information about the wp-trac mailing list