[wp-trac] [WordPress Trac] #39443: Search Page Template the_category() bug

WordPress Trac noreply at wordpress.org
Fri Jan 3 02:28:10 UTC 2020


#39443: Search Page Template the_category() bug
--------------------------------------------+------------------------------
 Reporter:  cybentizen                      |       Owner:  (none)
     Type:  defect (bug)                    |      Status:  new
 Priority:  normal                          |   Milestone:  Awaiting Review
Component:  Posts, Post Types               |     Version:  4.7
 Severity:  normal                          |  Resolution:
 Keywords:  needs-screenshots dev-feedback  |     Focuses:
--------------------------------------------+------------------------------
Changes (by Howdy_McGee):

 * keywords:  needs-screenshots => needs-screenshots dev-feedback


Comment:

 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()`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/39443#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list