[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 00:21:19 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 nacin):

 Looking at the PHP source, this doesn't look like it'll work, but — slene,
 can you test [attachment:23021.nospace.diff]? This is a hunch from andy
 and me that `header('Last-Modified:')` may work. We're currently issuing
 `header('Last-Modified: ')`, and the space might throw things off.

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


More information about the wp-trac mailing list