Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
AT Core currently wraps a comment's creation date in a link to the comment itself. This doesn't seem semantically correct (I could be wrong on that point!) but it is also a duplication of the link that wraps the comment's title.
While not directly a problem, it can also make integration a bit more difficult for other module's (such as Timeago) or subthemes (such as Commons Origins) which try to utilize $vars['created']
for their own purposes.
Comment | File | Size | Author |
---|---|---|---|
#1 | remove-comment-creation-link-2018081-1.patch | 672 bytes | Devin Carlson |
Comments
Comment #1
Devin Carlson CreditAttribution: Devin Carlson commentedA patch to remove the link from around a comment's creation date.
Comment #2
stupiddingo CreditAttribution: stupiddingo commentedThis patch fixes html content being rendered as plain text in links as described in #1838928: Timeago display displays HTML on comments
Marking as RTBC.
Comment #3
Jeff Burnz CreditAttribution: Jeff Burnz commentedOK, I'm cool with this, I have committed the patch (attributed). Cheers!
FTR: semantics, well, the idea was it replaced the permalink variable which I removed because I hate it - this is how Wordpress used to do permalinks back in the day and I always like it.