Ticket #33726: 33726.diff
File 33726.diff, 527 bytes (added by , 9 years ago) |
---|
-
wp-includes/taxonomy-functions.php
1132 1132 $orderby = 'tt.description'; 1133 1133 } elseif ( 'none' == $_orderby ) { 1134 1134 $orderby = ''; 1135 } elseif ( empty($_orderby) || 'id' == $_orderby ) {1135 } elseif ( empty($_orderby) || 'id' == $_orderby || 'term_id' == $_orderby ) { 1136 1136 $orderby = 't.term_id'; 1137 1137 } else { 1138 1138 $orderby = 't.name';