[wp-trac] [WordPress Trac] #4267: wp_list_pages using a 'the_title'
on all entries
WordPress Trac
wp-trac at lists.automattic.com
Mon May 14 23:44:08 GMT 2007
#4267: wp_list_pages using a 'the_title' on all entries
-----------------------------+----------------------------------------------
Reporter: YellowSwordfish | Owner: ryan
Type: defect | Status: new
Priority: normal | Milestone: 2.2
Component: Administration | Version: 2.2
Severity: normal | Keywords: wp_list_pages, filter
-----------------------------+----------------------------------------------
I have a plugin that – when a specific ‘page’ is displayed (checked by
is_page and ID) a filter changes the page title using a standard
add_filter on ‘the_title’.
If wp_list_pages() is being used on the sidebar, ALL page titles are
getting altered in the list output.
I have just checked and this does not seem to be the case using 2.1.3
As an aside, optionally passing the post ID into 'the-title' would be
useful.
--
Ticket URL: <http://trac.wordpress.org/ticket/4267>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list