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.

Members fund testing for the Drupal project. Drupal Association Learn more


Devin Carlson’s picture

Status: Active » Needs review
672 bytes

A patch to remove the link from around a comment's creation date.

stupiddingo’s picture

Status: Needs review » Reviewed & tested by the community

This patch fixes html content being rendered as plain text in links as described in #1838928: Timeago display displays HTML on comments

Marking as RTBC.

Jeff Burnz’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Fixed

OK, 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.