[wp-trac] [WordPress Trac] #55891: Please add an action for additions within the "comment-metadata" div

WordPress Trac noreply at wordpress.org
Wed Oct 4 12:49:19 UTC 2023


#55891: Please add an action for additions within the "comment-metadata" div
--------------------------+------------------------------
 Reporter:  jwz           |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Comments      |     Version:  6.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by lopo):

 I worked on this during the Yoast Contributor Day.

 I decided to make it a bit more general than just adding an action by
 using a filter instead. The first argument is the content of the comment
 metadata div, except for the edit link: so basically the time and date
 displayed as a direct link to the comment.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55891#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list