function get_categories() doesn't work properly when using child_of and number parameters
|Reported by:||jidm||Owned by:||ryan|
|Component:||Taxonomy||Keywords:||has-patch get_terms number child_of|
The function get_categories() does not behave as expected when combining parameters "child_of" and "number".
Instead of showing X children of category Y, they are doing the following logic:
Get X categories (children or not). Then look in this result for children of category Y and show them. So the total result can be 5 categories, 3 categories, or even none.
Change History (7)
- Component changed from General to Taxonomy
- Owner changed from anonymous to ryan