Changes between Initial Version and Version 1 of Ticket #39443, comment 2
- Timestamp:
- 01/03/2020 02:28:33 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #39443, comment 2
initial v1 1 Reverting back to 4.7 I don't see where it orders by hierarchy. It seems to order by Alpha always. In WordPress 4.9 there's the `wp_get_object_terms_args` filter hook which may circumvent this issue but there isn't anything specific to `the_category()`. Not sure if this change is wanted or necessary. We would likely need an additional parameter to pass all the way down to `wp_get_object_terms()`.1 Reverting back to 4.7 I don't see where it orders by hierarchy. It seems to order by Alpha always. In WordPress 4.9 there's the `wp_get_object_terms_args` filter hook which may circumvent this issue ( orderby parent ) but there isn't anything specific to `the_category()`. Not sure if this change is wanted or necessary. We would likely need an additional parameter to pass all the way down to `wp_get_object_terms()`.