[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:18:24 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: has-patch tested dev-feedback
-------------------------------+--------------------------------------------
Comment(by Denis-de-Bernardy):
Replying to [comment:1 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.
It what I thought too, until I added a post in the empty subcat I created
to verify.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9960#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list