Changeset 33711
- Timestamp:
- 08/22/2015 07:42:30 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r33652 r33711 2552 2552 } 2553 2553 2554 // Get the term before deleting it or its term relationships so we can pass to actions below. 2555 $deleted_term = get_term( $term, $taxonomy ); 2556 2554 2557 $objects = $wpdb->get_col( $wpdb->prepare( "SELECT object_id FROM $wpdb->term_relationships WHERE term_taxonomy_id = %d", $tt_id ) ); 2555 2558 … … 2571 2574 foreach ( $tax_object->object_type as $object_type ) 2572 2575 clean_object_term_cache( $objects, $object_type ); 2573 2574 // Get the object before deletion so we can pass to actions below2575 $deleted_term = get_term( $term, $taxonomy );2576 2576 2577 2577 /**
Note: See TracChangeset
for help on using the changeset viewer.