[wp-trac] Re: [WordPress Trac] #4004: New filter for page title attribute in wp_list_pages output

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 1 20:36:48 GMT 2007


#4004: New filter for page title attribute in wp_list_pages output
---------------------------------------------------+------------------------
 Reporter:  Dickie                                 |        Owner:  ryan 
     Type:  enhancement                            |       Status:  new  
 Priority:  normal                                 |    Milestone:  2.2  
Component:  Template                               |      Version:  2.1.3
 Severity:  normal                                 |   Resolution:       
 Keywords:  filter wp_list_pages has-patch commit  |  
---------------------------------------------------+------------------------
Comment (by westi):

 Replying to [comment:6 rob1n]:
 > In the trunk we now run it through the_title, both on the attribute and
 the page title.
 >

 I don't think that helps much.

 How can we tell the context of the call? i.e. attribute/content.

 I agree adding the the_title filter to the title when used as content
 makes sense.

 I feel we still need a new filter for when it is the title attribute - and
 we still need to pass the post object through for anyone that wants it
 here as they can't easily get the context in any other way as posts titles
 are not unique.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4004#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list