[wp-trac] [WordPress Trac] #36126: lastBuildDate in comment feed may not be empty

WordPress Trac noreply at wordpress.org
Thu Apr 28 17:20:20 UTC 2016


#36126: lastBuildDate in comment feed may not be empty
-------------------------------+------------------------------
 Reporter:  Cybr               |       Owner:  stevenkword
     Type:  defect (bug)       |      Status:  assigned
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Feeds              |     Version:  4.4.2
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by stevenkword):

 At first I thought this related to
 https://core.trac.wordpress.org/ticket/4575 via changeset [32765].
 However, since that was later reverted in [33281], it looks like the
 problem existed prior to those changes.

 Currently in trunk, I am able to move all comments to the trash and view
 domain.com/comments/feed/ and get the empty `<lastBuildDate>` tags you
 mention.  In this case, it is more likely that the empty string is being
 caused by an empty return value from `get_lastcommentmodified()`

 https://core.trac.wordpress.org/browser/trunk/src/wp-includes/feed-
 rss2-comments.php#L46

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


More information about the wp-trac mailing list