diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index c255962210..e910e33cc5 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -2948,13 +2948,6 @@ function wp_update_term( $term_id, $taxonomy, $args = array() ) { */ do_action( 'edited_term_taxonomy', $tt_id, $taxonomy ); - // Clean the relationship caches for all object types using this term. - $objects = $wpdb->get_col( $wpdb->prepare( "SELECT object_id FROM $wpdb->term_relationships WHERE term_taxonomy_id = %d", $tt_id ) ); - $tax_object = get_taxonomy( $taxonomy ); - foreach ( $tax_object->object_type as $object_type ) { - clean_object_term_cache( $objects, $object_type ); - } - /** * Fires after a term has been updated, but before the term cache has been cleaned. * diff --git a/wp-includes/version.php b/wp-includes/version.php index a0370f0ac8..a1d152035d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37592'; +$wp_version = '4.6-alpha-37593'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.