#5829 closed enhancement (invalid)
Make _wp_comment_list_item filter the post's title
Reported by: | henrikmelin | Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | normal | Version: | 2.3.2 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
In the _wp_comment_list_item() function the post title is currently formatted using wp_specialchars. Since this has no hook it is not possible to change or format the title prior to it being displayed.
I propose that the standard formatting filter 'the_title' is applied instead, using get_the_title($post->ID), making it accessible to plugins (and formatted in the same way it is formatted everywhere else, for consistency).
This is dependent on ticket #5746. This change makes the ID available to the 'the_title' filter.
Attachments (1)
Change History (9)
#2
@
16 years ago
- Priority changed from normal to low
-1 on this props.
See this ticket:
http://trac.wordpress.org/ticket/4267
A new filter is required rather than mis-applying an existing one IMHO.
#6
@
15 years ago
- Milestone changed from 2.9 to Future Release
- Summary changed from Make _wp_comment_list_item use 'the_title' filter to format the title to Make _wp_comment_list_item filter the post's title
-1 for using the_title, but a filter could be added.
Note: See
TracTickets for help on using
tickets.
Patch for 5829