Changeset 104
- Timestamp:
- 08/01/08 21:30:40 (5 months ago)
- Files:
-
- trunk/includes/class.wp-taxonomy.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/includes/class.wp-taxonomy.php
r101 r104 727 727 $where = 't.term_id = %d'; 728 728 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 ); 730 730 else 731 return $ wpdb->get_var( $this->db->prepare( $select . $where, $term ) );731 return $this->db->get_var( $this->db->prepare( $select . $where, $term ) ); 732 732 } 733 733
