[wp-trac] [WordPress Trac] #15652: Tags with Accents are Incorrectly Sorted in Cloud

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 2 20:43:22 UTC 2010


#15652: Tags with Accents are Incorrectly Sorted in Cloud
--------------------------+-------------------------------------------------
 Reporter:  CatherineBr   |       Owner:                               
     Type:  defect (bug)  |      Status:  new                          
 Priority:  normal        |   Milestone:  Awaiting Review              
Component:  General       |     Version:  3.0.2                        
 Severity:  normal        |    Keywords:  sorting, sort, accents, cloud
--------------------------+-------------------------------------------------

Comment(by CatherineBr):

 Oups. In the previous code, the last line should read :

 uasort( $tags, create_function('$a, $b', 'return
 strnatcasecmp(replace_accents($a->name), replace_accents($b->name));') );

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15652#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list