[wp-trac] [WordPress Trac] #46992: Add a filter which allows the HTTP headers for REST API Endpoints to be changed

WordPress Trac noreply at wordpress.org
Mon Apr 22 15:43:58 UTC 2019


#46992: Add a filter which allows the HTTP headers for REST API Endpoints to be
changed
-------------------------+------------------------------
 Reporter:  sudar        |       Owner:  adamsilverstein
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  5.3
Component:  REST API     |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------

Comment (by TimothyBlynJacobs):

 But doesn't `rest_send_cors_headers()` use a regular `header` function
 call, it doesn't go through `WP_REST_Server`?

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


More information about the wp-trac mailing list