After I did a comments_recent override I changed the "Comment: Subject" -> Field -> Handler from "Normal" to "With updated mark". After doing so, the "new" mark did not display. I noticed that the comment_timestamp in the theme function had no value. I printed the $data array and found the associated array key for the timestamp was comment_timestamp_timestamp. I made the core change and it fixed the problem. I have attached the patch.
| Comment | File | Size | Author |
|---|---|---|---|
| views_comment.inc_.patch | 708 bytes | shawnp |
Comments
Comment #1
esmerel commentedNo commits are being made to the 5.x branch at this point.
Comment #2
esmerel commentedActually, since there's a patch attached, I'm not going to close it. If one of the maintainers gets a chance to look at 5 issues before it gets deprecated...
Comment #3
dawehnerIt looks fine, because everywhere comments_timestamp_timestamp is used, but i cannot test the patch.
Comment #4
esmerel commentedAt this time, only security fixes will be made to the 5.x version of Views.