[wp-trac] [WordPress Trac] #35580: Include auto-discovery header on REST responses

WordPress Trac noreply at wordpress.org
Wed Jun 29 01:49:49 UTC 2016


#35580: Include auto-discovery header on REST responses
---------------------------------------------+--------------------------
 Reporter:  danielbachhuber                  |       Owner:  rachelbaker
     Type:  enhancement                      |      Status:  reviewing
 Priority:  normal                           |   Milestone:  4.6
Component:  REST API                         |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+--------------------------

Comment (by rachelbaker):

 @danielbachhuber Including the `link` header for `wp-admin` requests could
 probably be done using `rest_output_link_header`, but I don't feel
 strongly this is needed (`rest_output_link_header` already is hooked into
 `template_redirect` also included in dispatched API requests).  Of course
 @rmccue can add if he likes.

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


More information about the wp-trac mailing list