[wp-trac] [WordPress Trac] #13176: wp_list_categories pad_counts shows zero for parent term with custom hierarchical taxonomy

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 17 14:33:04 UTC 2011


#13176: wp_list_categories pad_counts shows zero for parent term with custom
hierarchical taxonomy
-------------------------------------------+-----------------------
 Reporter:  michaelh                       |       Owner:  filosofo
     Type:  defect (bug)                   |      Status:  reopened
 Priority:  normal                         |   Milestone:
Component:  Taxonomy                       |     Version:  3.0
 Severity:  normal                         |  Resolution:
 Keywords:  reporter-feedback needs-patch  |
-------------------------------------------+-----------------------

Comment (by SergeyBiryukov):

 Replying to [comment:4 valendesigns]:
 > As well, if you look at the category list in the WordPress admin the
 parent will show a 0 count even though it has posts in the children
 categories.

 The category list in the admin doesn't use `pad_counts`.

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


More information about the wp-trac mailing list