[wp-trac] [WordPress Trac] #45457: get_terms returns incorrect terms set for indirect children
WordPress Trac
noreply at wordpress.org
Sun Dec 2 14:58:52 UTC 2018
#45457: get_terms returns incorrect terms set for indirect children
--------------------------+------------------------------
Reporter: mh35 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 4.9.8
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by joyously):
As it states in the parameter definitions on
https://developer.wordpress.org/reference/classes/wp_term_query/__construct/
{{{
'child_of'
(int) Term ID to retrieve child terms of. If multiple taxonomies are
passed, $child_of is ignored. Default 0.
}}}
So it looks like the correct result to me.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45457#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list