diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php index 17cd0b8fe4..97122037c3 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/wp-includes/taxonomy.php @@ -3990,7 +3990,7 @@ function _prime_term_caches( $term_ids, $update_meta_cache = true ) { if ( ! empty( $non_cached_ids ) ) { $fresh_terms = $wpdb->get_results( sprintf( "SELECT t.*, tt.* FROM $wpdb->terms AS t INNER JOIN $wpdb->term_taxonomy AS tt ON t.term_id = tt.term_id WHERE t.term_id IN (%s)", implode( ',', array_map( 'intval', $non_cached_ids ) ) ) ); - update_term_cache( $fresh_terms, $update_meta_cache ); + update_term_cache( $fresh_terms ); if ( $update_meta_cache ) { update_termmeta_cache( $non_cached_ids );