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

WordPress Trac noreply at wordpress.org
Thu Dec 3 16:21:40 UTC 2015


#34832: REST API does not send nocache headers on authenticated requests
--------------------------+-----------------------
 Reporter:  joehoyle      |       Owner:  rmccue
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  4.4
Component:  REST API      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------

Comment (by joehoyle):

 @markjaquith the criterium is `is_user_logged_in()`. I think we'll need to
 add it directly, but can pass it through a filter to allow overriding (and
 also sending no-cache headers on un'authed requests if the developer
 wanted to). Patch incoming.

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


More information about the wp-trac mailing list