Changeset 37593 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 05/30/2016 04:10:16 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r37578 r37593 2949 2949 do_action( 'edited_term_taxonomy', $tt_id, $taxonomy ); 2950 2950 2951 // Clean the relationship caches for all object types using this term.2952 $objects = $wpdb->get_col( $wpdb->prepare( "SELECT object_id FROM $wpdb->term_relationships WHERE term_taxonomy_id = %d", $tt_id ) );2953 $tax_object = get_taxonomy( $taxonomy );2954 foreach ( $tax_object->object_type as $object_type ) {2955 clean_object_term_cache( $objects, $object_type );2956 }2957 2958 2951 /** 2959 2952 * Fires after a term has been updated, but before the term cache has been cleaned.
Note: See TracChangeset
for help on using the changeset viewer.