Opened 16 years ago
Closed 15 years ago
#9319 closed enhancement (duplicate)
In get_the_title(), pass $post as the second paramter into 'the_title' filter
Reported by: | westonruter | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | trivial | Version: | 2.7.1 |
Component: | Template | Keywords: | has-patch dev-feedback |
Focuses: | Cc: |
Description
In order for the 'the_title' filter result in the get_the_title() call to know which post is being filtered, a post object should be made available as the second parameter in the filter.
This is done to the title in adjacent_post_link() already.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Addition of $post argument to the apply_filters() call in get_the_title()