In get_the_title(), pass $post as the second paramter into 'the_title' filter
|Reported by:||westonruter||Owned by:||anonymous|
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.
Change History (6)
Note: See TracTickets for help on using tickets.