[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
Sat Apr 14 15:40:07 UTC 2018


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

 * milestone:  Awaiting Review => 5.0


Comment:

 +1 for consistency.

 See #25669, #39591.

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


More information about the wp-trac mailing list