[wp-hackers] Ticket #4267 - 'the_title' Filter
andy at yellowswordfish.com
Wed Jan 9 09:14:58 GMT 2008
Ah - excellent. I look forward to it!
On 9 Jan 2008, at 08:43AM, Peter Westwood wrote:
> On Tue, January 8, 2008 9:48 pm, Andy Staines wrote:
>> I am hoping someone might be able to suggest a workaround for the
>> above problem I raised a while back. In short, sometime after 2.1.3,
>> 'the_title' filter was added to wp_list_pages(). The result is that
>> you run a filter on 'the_title' to change the title of a specific
>> and wp_list_pages() is being used (on a navbar or sidebar) then ALL
>> page titles get changed.
>> Testing in the filter to confirm that the current page being
>> is the one you want to modify so that your code runs will, of course,
>> test positive for every call to the filter - hence all page titles
>> Can anyone think of a way that I can isolate the one page I need to
>> change and make the change without effecting all other page listings?
>> Sure be grateful for any suggestions...
> Issues like this are why I raised this ticket  - now I just need
> to go
> through and make some changes :-)
>  http://trac.wordpress.org/ticket/4893
> Peter Westwood
> http://blog.ftwr.co.uk | http://westi.wordpress.com
> C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers