[wp-trac] Re: [WordPress Trac] #8671: add slug as class name in wp_list_pages

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 23 19:29:49 GMT 2008

#8671: add slug as class name in wp_list_pages
 Reporter:  blonkm                   |        Owner:  anonymous
     Type:  enhancement              |       Status:  new      
 Priority:  normal                   |    Milestone:  2.7.1    
Component:  General                  |      Version:  2.7      
 Severity:  normal                   |   Resolution:           
 Keywords:  css class wp_list_pages  |  
Comment (by blonkm):

 My suggestion would be either this, or preferably to have a filter on this
 line so plugins and others can decide what to do with the link as it is
 processed. Right now the only available filter is wp_list_pages, so that
 is after the whole list is generated, which would make it quite hard (not
 impossible though) to add the class names.

Ticket URL: <http://trac.wordpress.org/ticket/8671#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list