[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
Wed Jan 6 16:28:52 UTC 2021


#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 needs-        |     Focuses:  rest-api,
  refresh                                        |  performance
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * keywords:  has-patch dev-feedback => has-patch dev-feedback needs-refresh


Comment:

 Though this ticket has a patch, it's still in the exploration phase.
 Marking it for refresh. As Timothy noted in today's scrub:

 >We have some code that does this that I’m going to see if will work in a
 Core context. So it’ll need testing and review soon.

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


More information about the wp-trac mailing list