[wp-trac] [WordPress Trac] #16240: hide_empty doesn't work in get_terms() when hierarchical isn't set to false

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 15 06:06:05 UTC 2011


#16240: hide_empty doesn't work in get_terms() when hierarchical isn't set to false
--------------------------+----------------------------
 Reporter:  markjaquith   |      Owner:  markjaquith
     Type:  defect (bug)  |     Status:  new
 Priority:  high          |  Milestone:  Future Release
Component:  Taxonomy      |    Version:
 Severity:  major         |   Keywords:  3.2-early
--------------------------+----------------------------
 I end up with some 0-count categories when calling {{{get_terms(
 'category', array( 'hide_empty' => true ) )}}}

 I think it has to do with the child count logic.

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


More information about the wp-trac mailing list