[wp-trac] [WordPress Trac] #23021: Last-Modified header always set to 1970... when it is blank. Make browser cannot refresh cache.

WordPress Trac noreply at wordpress.org
Thu Jan 3 23:35:59 UTC 2013


#23021: Last-Modified header always set to 1970... when it is blank. Make browser
cannot refresh cache.
--------------------------+--------------------
 Reporter:  slene         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5.1
Component:  General       |     Version:  3.5
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Comment (by ryan):

 Testing results with 23021.4.diff.

 PHP 5.2.17:

 * Last-Modified is not sent when no plugin is adding Last-Modified.
 * Last-Modified is sent but empty when a plugin adds Last-Modified.

 PHP 5.3.14:

 * Last-Modified is not sent when no plugin is adding Last-Modified.
 * Last-Modified is not sent when a plugin adds Last-Modified.

 PHP 5.4.4 behaves the same way as 5.3.14.

 This conforms to the intent expressed above and seems good to me.
 wp_header() for 3.6 sounds good.

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


More information about the wp-trac mailing list