#27312 closed defect (bug) (fixed)
get_term_children() has incorrect @return value
Reported by: | SergeyBiryukov | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 3.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Taxonomy | Keywords: | needs-patch good-first-bug |
Focuses: | docs | Cc: |
Description
See tags/3.8.1/src/wp-includes/taxonomy.php#L1071.
It returns an array of term IDs, not term objects.
Change History (3)
Note: See
TracTickets for help on using
tickets.
It's primary (and really only use) is in
WP_Tax_Query::clean_query()
to populate theterms
property withterm_id
array