[wp-trac] [WordPress Trac] #26903: get_terms returns no terms with 'parent' => 0 with non-empty child terms

WordPress Trac noreply at wordpress.org
Fri Feb 7 18:42:18 UTC 2014


#26903: get_terms returns no terms with 'parent' => 0 with non-empty child terms
------------------------------+-----------------------
 Reporter:  mrwweb            |       Owner:
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  3.9
Component:  Taxonomy          |     Version:  3.8
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------
Changes (by wonderboymusic):

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


Comment:

 Last night, it came to me that I didn't write tests for parent => 0 and
 more than one-level deep of empties before hitting a term with count > 0

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26903#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list