[wp-trac] [WordPress Trac] #36843: Wrong Taxonomy Term orderby 'name' in Cyrillic

WordPress Trac noreply at wordpress.org
Fri May 27 09:47:44 UTC 2016


#36843: Wrong Taxonomy Term orderby 'name' in Cyrillic
--------------------------+-----------------------
 Reporter:  esemlabel     |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:
Component:  Database      |     Version:  4.5.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------

Comment (by esemlabel):

 I've found, that querying '''SQL direct in phpMyadmin console''' with
 code, for example:

 {{{
 SELECT * FROM wp_terms ORDER BY name COLLATE utf8_unicode_ci
 }}}

 gives success result! '''Term names in Ukrainian Cyrillic successfully
 ordered by name''' in right alphabetic order.

 I am asking wp-gurus to write function that can alter general get terms
 function to include 'COLLATE utf8_unicode_ci' parameter, until WordPress
 Core will have such fix.

 Maybe there is a hook, action or filter for changing get terms process
 globally (in back-end on term pages and in front-end) ?

 Please, help!

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


More information about the wp-trac mailing list