[wp-trac] [WordPress Trac] #34832: REST API does not send nocache headers on authenticated requests

WordPress Trac noreply at wordpress.org
Thu Dec 3 03:58:02 UTC 2015


#34832: REST API does not send nocache headers on authenticated requests
--------------------------+-----------------------------
 Reporter:  joehoyle      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  REST API      |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Core typically sends nocache headers on all auth'ed responses, as in `wp`,
 `admin-ajax`, etc. Because the REST API infrastructure is hooked in
 pre-`wp`, we should be setting this ourselves.

 I'd recommend we get this fix in 4.4 given the implications.

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


More information about the wp-trac mailing list