[wp-trac] [WordPress Trac] #9319: In get_the_title(),
pass $post as the second paramter into 'the_title' filter
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 11 19:00:33 GMT 2009
#9319: In get_the_title(), pass $post as the second paramter into 'the_title'
filter
-------------------------+--------------------------------------------------
Reporter: westonruter | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.7.2
Component: Template | Version: 2.7.1
Severity: trivial | Keywords: filter
-------------------------+--------------------------------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9319>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list