[wp-trac] [WordPress Trac] #13066: Last-Modified headers for individual comment feeds are incorrect

WordPress Trac noreply at wordpress.org
Tue Nov 14 20:43:05 UTC 2017


#13066: Last-Modified headers for individual comment feeds are incorrect
----------------------------------------+-----------------------------
 Reporter:  solarissmoke                |       Owner:  jgci
     Type:  defect (bug)                |      Status:  accepted
 Priority:  low                         |   Milestone:  Future Release
Component:  Feeds                       |     Version:  3.0
 Severity:  normal                      |  Resolution:
 Keywords:  dev-feedback needs-refresh  |     Focuses:  performance
----------------------------------------+-----------------------------

Comment (by stevenkword):

 Having looked at this further, I agree with @dd32.  The code that
 generates the HTTP headers doesn't have access to the global `WP_Query`
 object due it's early execution.  The patch attached in #4575 resolves the
 `<lastBuildDate>` side of this, but does not address the HTTP headers.

 For now, I'm in favor of leaving the HTTP headers as is and implementing
 the new `get_last_build_date` method proposed in #4575 as it is "free".

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


More information about the wp-trac mailing list