Opened 12 months ago
Last modified 12 months ago
#55891 new defect (bug)
Please add an action for additions within the "comment-metadata" div
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.0 |
Component: | Comments | Keywords: | needs-patch |
Focuses: | Cc: |
Description
I would like to add additional data to the ".comment-metadata" div, and there is no way to do that.
If I want to display the extra info for admins only, I can use the 'comment_text' filter, but that's a nasty hack, and obviously only shows up for users who are able to edit comments, so it doesn't help the general case.
I suggest adding an action just before or just after the call to edit_comment_link in class-walker-comment.php around line 460 (and also 360?)
Note: See
TracTickets for help on using
tickets.