[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
Fri Jan 4 19:38:06 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):

 Replying to [comment:17 westi]:
 > For 3.6 wp_header looks nice - might be good to see if we can avoid
 using @ suppression there by checking headers_sent().

 If there is a speed component, I could go for it. However I think I like @
 over headers_sent(), because then if you have the error suppression
 operator disabled ("scream" mode), possibly valid warnings present
 themselves, while headers_sent() would prevent any warning.

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


More information about the wp-trac mailing list