Changeset 16900 for trunk/wp-includes/taxonomy.php
- Timestamp:
- 12/13/2010 09:21:50 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/taxonomy.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r16854 r16900 605 605 606 606 $query['terms'] = (array) $query['terms']; 607 607 608 608 $this->queries[] = $query; 609 609 } … … 707 707 * @param string $taxonomy The taxonomy of the terms 708 708 * @param string $field The initial field 709 * @param string $resulting_field The resulting field 709 * @param string $resulting_field The resulting field 710 710 */ 711 711 function _transform_terms( &$terms, $taxonomy, $field, $resulting_field ) { … … 1583 1583 * Will unlink the object from the taxonomy or taxonomies. 1584 1584 * 1585 * Will remove all relationships between the object and any terms in 1586 * a particular taxonomy or taxonomies. Does not remove the term or 1585 * Will remove all relationships between the object and any terms in 1586 * a particular taxonomy or taxonomies. Does not remove the term or 1587 1587 * taxonomy itself. 1588 1588 * … … 1698 1698 $tax_object = get_taxonomy( $taxonomy ); 1699 1699 foreach ( $tax_object->object_type as $object_type ) 1700 clean_object_term_cache( $objects, $object_type ); 1701 1700 clean_object_term_cache( $objects, $object_type ); 1701 1702 1702 do_action( 'delete_term_taxonomy', $tt_id ); 1703 1703 $wpdb->query( $wpdb->prepare( "DELETE FROM $wpdb->term_taxonomy WHERE term_taxonomy_id = %d", $tt_id ) );
Note: See TracChangeset
for help on using the changeset viewer.