[wp-trac] [WordPress Trac] #48638: Pass WP_REST_Request object to the rest_index filter

WordPress Trac noreply at wordpress.org
Thu Nov 14 16:25:31 UTC 2019


#48638: Pass WP_REST_Request object to the rest_index filter
-------------------------------+-----------------------------
 Reporter:  TimothyBlynJacobs  |      Owner:  (none)
     Type:  enhancement        |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  REST API           |    Version:  4.4
 Severity:  normal             |   Keywords:  needs-patch
  Focuses:                     |
-------------------------------+-----------------------------
 The `rest_index` filter does not have access to the `WP_REST_Request`
 object which means we can't easily modify the response depending on the
 request data provided.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48638>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list