diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 3183a26f6f..d503d79bdc 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -3620,11 +3620,13 @@ function clean_term_cache($ids, $taxonomy = '', $clean_taxonomy = true) { * Fires once after each taxonomy's term cache has been cleaned. * * @since 2.5.0 + * @since 4.5.0 Added $clean_taxonomy param. * * @param array $ids An array of term IDs. * @param string $taxonomy Taxonomy slug. + * @param bool $clean_taxonomy Whether or not to clean taxonomy-wide caches */ - do_action( 'clean_term_cache', $ids, $taxonomy ); + do_action( 'clean_term_cache', $ids, $taxonomy, $clean_taxonomy ); } wp_cache_set( 'last_changed', microtime(), 'terms' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 4076549022..aa67624d36 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36398'; +$wp_version = '4.5-alpha-36399'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.