diff --git a/wp-includes/interactivity-api/interactivity-api.php b/wp-includes/interactivity-api/interactivity-api.php index cc2c812047..b8f3e508d0 100644 --- a/wp-includes/interactivity-api/interactivity-api.php +++ b/wp-includes/interactivity-api/interactivity-api.php @@ -57,16 +57,20 @@ function wp_interactivity_process_directives_of_interactive_blocks( array $parse }; /* - * Uses a priority of 20 to ensure that other filters can add additional + * Uses a priority of 100 to ensure that other filters can add additional * directives before the processing starts. */ - add_filter( 'render_block_' . $block_name, $process_interactive_blocks, 20, 2 ); + add_filter( 'render_block_' . $block_name, $process_interactive_blocks, 100, 2 ); } } return $parsed_block; } -add_filter( 'render_block_data', 'wp_interactivity_process_directives_of_interactive_blocks' ); +/* + * Uses a priority of 100 to ensure that other filters can add additional attributes to + * $parsed_block before the processing starts. + */ +add_filter( 'render_block_data', 'wp_interactivity_process_directives_of_interactive_blocks', 100, 1 ); /** * Retrieves the main WP_Interactivity_API instance. diff --git a/wp-includes/version.php b/wp-includes/version.php index 103b54c62b..da7a0527cb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-57824'; +$wp_version = '6.6-alpha-57826'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.