WordPress.org

Make WordPress Core

Opened 4 months ago

Last modified 7 days ago

#23634 new enhancement

New hook for adding content after each comment

Reported by: lancewillett Owned by:
Priority: normal Milestone: Future Release
Component: Comments Version:
Severity: normal Keywords: has-patch punt
Cc: codeclarified, pippin@…, sunnyratilal5@…, mdhansen@…

Description

Similar to #18561 (which is for a new "after post" hook) add a hook that fires after each comment output with wp_list_comments.

Attachments (1)

23634.diff (517 bytes) - added by codeclarified 4 months ago.

Download all attachments as: .zip

Change History (7)

codeclarified4 months ago

comment:1 codeclarified4 months ago

  • Cc codeclarified added
  • Keywords has-patch added; needs-patch removed

Added a hook to class-wp-walker.php - due to the callback functions on comments this was the only reliable location I could find to add such a hook without worrying about it being dropped due to a custom callback, and still keeping a nested reply from duplicating the content after the levels start closing

comment:2 mordauk6 weeks ago

  • Cc pippin@… added

comment:3 sunnyratilal6 weeks ago

  • Cc sunnyratilal5@… added

comment:4 DrewAPicture4 weeks ago

  • Keywords punt added

comment:5 MikeHansenMe2 weeks ago

  • Cc mdhansen@… added

comment:6 ocean907 days ago

  • Milestone changed from 3.6 to Future Release
Note: See TracTickets for help on using tickets.