[wp-trac] [WordPress Trac] #26903: get_terms returns no terms with 'parent' => 0 with non-empty child terms
WordPress Trac
noreply at wordpress.org
Thu Feb 6 05:23:54 UTC 2014
#26903: get_terms returns no terms with 'parent' => 0 with non-empty child terms
------------------------------+------------------
Reporter: mrwweb | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9
Component: Taxonomy | Version: 3.8
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+------------------
Changes (by wonderboymusic):
* keywords: => has-patch commit
* milestone: Awaiting Review => 3.9
Comment:
This was another brutal one. `_get_term_children()` was defying logic in
some cases. All unit tests pass. I added a mega unit test that does
exactly what this ticket describes. Gonna let this sit til tomorrow in
case someone wants to chime in.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26903#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list