[wp-trac] Re: [WordPress Trac] #2461: Add ability to limit depth of tree produced by wp_list_categories()

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 19 14:23:56 GMT 2007


#2461: Add ability to limit depth of tree produced by wp_list_categories()
------------------------------------------+---------------------------------
 Reporter:  researcher                    |        Owner:  pishmishy
     Type:  enhancement                   |       Status:  new      
 Priority:  normal                        |    Milestone:  2.4      
Component:  Template                      |      Version:  2.0.1    
 Severity:  normal                        |   Resolution:           
 Keywords:  wp_list_categories has-patch  |  
------------------------------------------+---------------------------------
Changes (by pishmishy):

  * keywords:  list_cats => wp_list_categories has-patch
  * owner:  anonymous => pishmishy
  * status:  reopened => new

Comment:

 Trivial patch allows depth of tree walk to be set manually by the theme
 author. Defaults to existing value of 0. Documentation will need updating
 if it is decided to commit this patch.

 Does a similar option need to be included for other tree walks?

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


More information about the wp-trac mailing list