Changeset 30108 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 10/30/2014 02:49:51 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/taxonomy.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r30107 r30108 1296 1296 if ( !$term = (int) $term ) 1297 1297 return null; 1298 if ( ! $_term = wp_cache_get( $term, $taxonomy) ) {1298 if ( ! $_term = wp_cache_get( $term, $taxonomy . ':terms:' . $incrementor ) ) { 1299 1299 $_term = $wpdb->get_row( $wpdb->prepare( "SELECT t.*, tt.* FROM $wpdb->terms AS t INNER JOIN $wpdb->term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = %s AND t.term_id = %d LIMIT 1", $taxonomy, $term) ); 1300 1300 if ( ! $_term )
Note: See TracChangeset
for help on using the changeset viewer.