diff --git a/wp-includes/blocks.php b/wp-includes/blocks.php index 0ab0e7ca6a..72330aa578 100644 --- a/wp-includes/blocks.php +++ b/wp-includes/blocks.php @@ -819,6 +819,7 @@ function render_block( $parsed_block ) { * Allows render_block() to be short-circuited, by returning a non-null value. * * @since 5.1.0 + * @since 5.9.0 The `$parent_block` parameter was added. * * @param string|null $pre_render The pre-rendered content. Default null. * @param array $parsed_block The block being rendered. @@ -835,6 +836,7 @@ function render_block( $parsed_block ) { * Filters the block being rendered in render_block(), before it's processed. * * @since 5.1.0 + * @since 5.9.0 The `$parent_block` parameter was added. * * @param array $parsed_block The block being rendered. * @param array $source_block An un-modified copy of $parsed_block, as it appeared in the source content. @@ -860,6 +862,7 @@ function render_block( $parsed_block ) { * Filters the default context provided to a rendered block. * * @since 5.5.0 + * @since 5.9.0 The `$parent_block` parameter was added. * * @param array $context Default context. * @param array $parsed_block Block being rendered, filtered by `render_block_data`. diff --git a/wp-includes/version.php b/wp-includes/version.php index 154e4b0d71..06e388c58b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51894'; +$wp_version = '5.9-alpha-51895'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.