diff --git a/wp-includes/class-wp-taxonomy.php b/wp-includes/class-wp-taxonomy.php index 21f3d4aec9..daedb66f82 100644 --- a/wp-includes/class-wp-taxonomy.php +++ b/wp-includes/class-wp-taxonomy.php @@ -426,7 +426,7 @@ final class WP_Taxonomy { is_callable( $args['update_count_callback'] ) && empty( $args['update_count_by_callback'] ) ) { - $args['update_count_by_callback'] = function( $tt_ids, $taxonomy, $modify_by ) { + $args['update_count_by_callback'] = function( $tt_ids, $taxonomy ) use ( $args ) { return call_user_func( $args['update_count_callback'], $tt_ids, $taxonomy ); }; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 2a85a6808e..1bec5fdb76 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-49170'; +$wp_version = '5.6-alpha-49171'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.