[wp-trac] [WordPress Trac] #22258: nocache_headers fail to prevent aggressive caching in Chrome

WordPress Trac noreply at wordpress.org
Thu Oct 25 14:24:15 UTC 2012


#22258: nocache_headers fail to prevent aggressive caching in Chrome
------------------------------+-----------------------
 Reporter:  andy              |       Owner:  nacin
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  3.5
Component:  General           |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------

Comment (by nacin):

 Would probably be easiest if we just checked headers_sent() at the start
 of nocache_headers(), and in WP::send_headers(). There's no reason to
 error-suppress header() a half-dozen times when we can bypass it all
 together.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22258#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list