[wp-trac] Re: [WordPress Trac] #9960: get_terms() fails to work with parent=0

WordPress Trac wp-trac at lists.automattic.com
Thu May 28 16:10:36 GMT 2009


#9960: get_terms() fails to work with parent=0
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  filosofo
     Type:  defect (bug)       |      Status:  new     
 Priority:  normal             |   Milestone:  2.8     
Component:  Taxonomy           |     Version:  2.8     
 Severity:  major              |    Keywords:          
-------------------------------+--------------------------------------------

Comment(by filosofo):

 I can't reproduce this on trunk.  When I query
 {{{get_terms('category','parent=0');}}} it returns all categories at the
 top of the hierarchy.  In other words, those without parents, which is the
 expected behavior.

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


More information about the wp-trac mailing list