Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1/wp-includes/taxonomy.php

    r18354 r18021  
    11951195    elseif ( empty($_orderby) || 'id' == $_orderby )
    11961196        $orderby = 't.term_id';
    1197     else
    1198         $orderby = 't.name';
    11991197
    12001198    $orderby = apply_filters( 'get_terms_orderby', $orderby, $args );
     
    12041202    else
    12051203        $order = '';
    1206 
    1207     $order = strtoupper( $order );
    1208     if ( '' !== $order && !in_array( $order, array( 'ASC', 'DESC' ) ) )
    1209         $order = 'ASC';
    12101204
    12111205    $where = "tt.taxonomy IN ('" . implode("', '", $taxonomies) . "')";
Note: See TracChangeset for help on using the changeset viewer.