[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
Tue Apr 23 13:04:18 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 how will this filter help in that case?

 The headers sent by `rest_send_cors_headers` won't be filterable that
 proposed filter.

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


More information about the wp-trac mailing list