#27312 closed defect (bug) (fixed)
get_term_children() has incorrect @return value
| Reported by: | SergeyBiryukov | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.9 |
| Component: | Taxonomy | Version: | |
| Severity: | normal | Keywords: | needs-patch good-first-bug |
| Cc: | Focuses: | docs |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
It's primary (and really only use) is in
WP_Tax_Query::clean_query()to populate thetermsproperty withterm_idarray