diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 06fa0a0f47..6a49014f0c 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -3444,7 +3444,7 @@ function wp_modify_term_count_by_now( $tt_ids, $taxonomy, $modify_by ) { foreach ( $tt_ids as $tt_id ) { /** This action is documented in wp-includes/taxonomy.php */ - do_action( 'edit_term_taxonomy', $tt_id, $taxonomy ); + do_action( 'edit_term_taxonomy', $tt_id, $taxonomy->name ); } $result = $wpdb->query( @@ -3461,7 +3461,7 @@ function wp_modify_term_count_by_now( $tt_ids, $taxonomy, $modify_by ) { foreach ( $tt_ids as $tt_id ) { /** This action is documented in wp-includes/taxonomy.php */ - do_action( 'edited_term_taxonomy', $tt_id, $taxonomy ); + do_action( 'edited_term_taxonomy', $tt_id, $taxonomy->name ); } clean_term_cache( $tt_ids, '', false ); diff --git a/wp-includes/version.php b/wp-includes/version.php index cc934964a7..3d2346b4f7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-beta1-49314'; +$wp_version = '5.6-beta1-49316'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.