[wp-trac] [WordPress Trac] #36126: lastBuildDate in comment feed may not be empty
WordPress Trac
noreply at wordpress.org
Mon May 2 17:31:06 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: | Focuses:
--------------------------+------------------------------
Comment (by stevenkword):
Steps to reproduce:
1. Enable pretty permalinks
2. Move all comments to the trash
3. Visit domain.com/comments/feed/
I have confirmed that this is a valid bug report, but am a little bit on
the fence as to how to address the problem. A simple solution would be to
have the date fall back to the last published posts, preventing an empty
string from ever appearing in the feed. However, I'm worried that by
doing so, we would be introducing unexpected behavior out of
`get_lastcommentmodified()`.
I'd like to revisit #4575 since it would address this issue via the
introduction of a new method, `get_last_build_date`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36126#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list