From b22f50655472ebe27b381d6d28d762410c9e42d3 Mon Sep 17 00:00:00 2001 From: Bernhard Reiter Date: Thu, 25 Jan 2024 14:20:17 +0000 Subject: [PATCH] Block Hooks: Amend PHPDoc for `hooked_block_{$hooked_block_type}` filter. Add missing explanation of the dynamic part of the hook name. Follow-up [57354]. Props swissspidy. See #59572, #60126. Built from https://develop.svn.wordpress.org/trunk@57355 git-svn-id: http://core.svn.wordpress.org/trunk@56861 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/blocks.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/blocks.php b/wp-includes/blocks.php index 5c072e324b..dcb899c9e5 100644 --- a/wp-includes/blocks.php +++ b/wp-includes/blocks.php @@ -839,6 +839,8 @@ function insert_hooked_blocks( &$parsed_anchor_block, $relative_position, $hooke /** * Filters the parsed block array for a given hooked block. * + * The dynamic portion of the hook name, `$hooked_block_type`, refers to the block type name of the specific hooked block. + * * @since 6.5.0 * * @param array $parsed_hooked_block The parsed block array for the given hooked block type. diff --git a/wp-includes/version.php b/wp-includes/version.php index 4ccd840f23..70549e9b7b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57354'; +$wp_version = '6.5-alpha-57355'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.