[wp-trac] Re: [WordPress Trac] #2922: wp_list_cats() doesn't show categories with empty parents

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 6 15:11:07 GMT 2006


#2922: wp_list_cats() doesn't show categories with empty parents
----------------------+-----------------------------------------------------
 Reporter:  ketsugi   |        Owner:  anonymous
     Type:  defect    |       Status:  reopened 
 Priority:  normal    |    Milestone:           
Component:  Template  |      Version:  2.1      
 Severity:  normal    |   Resolution:           
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by ketsugi):

  * resolution:  invalid =>
  * status:  closed => reopened

Comment:

 Wait a minute, I almost got thrown off my original bug report there. The
 problem is not with the plugin not calling hideempty. The problem is that
 wp_list_cats() doesn't show the "Plugins" category, which does have posts
 inside. I can understand hiding the empty "Software" category, but its
 children categories should be shown if they have posts, instead of hiding
 the entire tree of categories simply because the parent is empty on that
 level.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2922>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list