[wp-trac] [WordPress Trac] #38027: Comments feed returns invalid timestamp in http headers when there are no comments

WordPress Trac noreply at wordpress.org
Wed Oct 5 18:32:28 UTC 2016


#38027: Comments feed returns invalid timestamp in http headers when there are no
comments
---------------------------------------------------+------------------
 Reporter:  dllh                                   |       Owner:
     Type:  defect (bug)                           |      Status:  new
 Priority:  normal                                 |   Milestone:  4.7
Component:  Comments                               |     Version:
 Severity:  normal                                 |  Resolution:
 Keywords:  has-patch has-unit-tests dev-feedback  |     Focuses:
---------------------------------------------------+------------------

Comment (by swissspidy):

 @rachelbaker Would you mind having a look at the latest patch? It's a bit
 heavier than the original one and introduces a new
 `_transition_comment_status()` function. That way,
 `get_lastcommentmodified()` can be properly cached.

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


More information about the wp-trac mailing list