WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 14 months ago

#23634 new enhancement

New hook for adding content after each comment

Reported by: lancewillett Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Comments Keywords: has-patch
Focuses: Cc:

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 2 years ago.

Download all attachments as: .zip

Change History (8)

@codeclarified2 years ago

comment:1 @codeclarified2 years 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 @mordauk2 years ago

  • Cc pippin@… added

comment:3 @sunnyratilal2 years ago

  • Cc sunnyratilal5@… added

comment:4 @DrewAPicture2 years ago

  • Keywords punt added

comment:5 @MikeHansenMe23 months ago

  • Cc mdhansen@… added

comment:6 @ocean9023 months ago

  • Milestone changed from 3.6 to Future Release

comment:7 @SergeyBiryukov14 months ago

  • Keywords punt removed
Note: See TracTickets for help on using tickets.