Changeset 104

Show
Ignore:
Timestamp:
08/01/08 21:30:40 (5 months ago)
Author:
mdawaffe
Message:

use this->db instead of wpdb

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/includes/class.wp-taxonomy.php

    r101 r104  
    727727                        $where = 't.term_id = %d'; 
    728728                        if ( !empty($taxonomy) )  
    729                                 return $wpdb->get_row( $this->db->prepare( $tax_select . $where . " AND tt.taxonomy = %s", $term, $taxonomy ), ARRAY_A );  
     729                                return $this->db->get_row( $this->db->prepare( $tax_select . $where . " AND tt.taxonomy = %s", $term, $taxonomy ), ARRAY_A );  
    730730                        else  
    731                                 return $wpdb->get_var( $this->db->prepare( $select . $where, $term ) );  
     731                                return $this->db->get_var( $this->db->prepare( $select . $where, $term ) );  
    732732                }  
    733733