Ticket #6952: may9-category-sorting.diff
| File may9-category-sorting.diff, 438 bytes (added by jeremyclarke, 4 months ago) |
|---|
-
wp-includes/taxonomy.php
old new 713 713 } 714 714 } 715 715 } 716 717 // Resort by name in PHP in case SQL didn't (for non-latin alphabets) 718 if ( 'name' == $args['orderby'] ) 719 usort( $terms, '_usort_terms_by_name' ); 720 721 716 722 reset ( $terms ); 717 723 718 724 $cache[ $key ] = $terms;
