[wp-trac] [WordPress Trac] #35180: In WordPress 4.4 the_tags() is displaying tags ordered by ID instead of alphabetically by name

WordPress Trac noreply at wordpress.org
Tue Dec 22 01:50:12 UTC 2015


#35180: In WordPress 4.4 the_tags() is displaying tags ordered by ID instead of
alphabetically by name
--------------------------+---------------------------
 Reporter:  flodit        |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.4.1
Component:  Taxonomy      |     Version:  4.4
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"36056"]:
 {{{
 #!CommitTicketReference repository="" revision="36056"
 Order terms by 'name' when populating object term cache.

 [34217] removed the `ORDER BY` clause from `update_object_term_cache()`,
 for
 improved performance. But this proved to cause problems in cases where
 users
 were expecting the results of `get_the_terms()` to be ordered by 'name'.
 Let's
 revert the change for the time being, and look into more disciplined
 ordering
 in a future release.

 Props afercia.
 See #28922. Fixes #35180.
 }}}

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


More information about the wp-trac mailing list