WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/17/2010 06:47:34 PM (9 years ago)
Author:
ryan
Message:

Pinking shears

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/taxonomy.php

    r16423 r16438  
    591591            // NOT IN is very slow for some reason
    592592            $where .= " AND $primary_table.$primary_id_column IN (
    593                 SELECT object_id 
    594                 FROM $wpdb->term_relationships 
    595                 WHERE term_taxonomy_id $operator ($terms) 
    596             )";         
     593                SELECT object_id
     594                FROM $wpdb->term_relationships
     595                WHERE term_taxonomy_id $operator ($terms)
     596            )";
    597597        }
    598598    }
     
    11801180        $$piece = isset( $clauses[ $piece ] ) ? $clauses[ $piece ] : '';
    11811181
    1182     $query = "SELECT $fields FROM $wpdb->terms AS t $join WHERE $where $orderby $order $limits";   
     1182    $query = "SELECT $fields FROM $wpdb->terms AS t $join WHERE $where $orderby $order $limits";
    11831183
    11841184    $fields = $_fields;
Note: See TracChangeset for help on using the changeset viewer.