Changeset 14606
- Timestamp:
- 05/13/2010 07:16:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r14593 r14606 527 527 $field = 't.name'; 528 528 } else { 529 $field = 't.term_id'; 530 $value = (int) $value; 529 return get_term( (int) $value, $taxonomy, $output, $filter); 531 530 } 532 531 … … 537 536 wp_cache_add($term->term_id, $term, $taxonomy); 538 537 538 $term = apply_filters('get_term', $term, $taxonomy); 539 $term = apply_filters("get_$taxonomy", $term, $taxonomy); 539 540 $term = sanitize_term($term, $taxonomy, $filter); 540 541
Note: See TracChangeset
for help on using the changeset viewer.