From ff37889f604772494f8d4aeb6cb9c64a1f47606e Mon Sep 17 00:00:00 2001 From: Bernie Reiter Date: Tue, 3 Dec 2024 18:51:34 +0100 Subject: [PATCH] Tweak param description --- src/wp-includes/blocks.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/blocks.php b/src/wp-includes/blocks.php index b09acebca159b..20c24af80bc0a 100644 --- a/src/wp-includes/blocks.php +++ b/src/wp-includes/blocks.php @@ -1044,8 +1044,9 @@ function set_ignored_hooked_blocks_metadata( &$parsed_anchor_block, $relative_po * * @param string $content Serialized content. * @param WP_Block_Template|WP_Post|array|null $context A block template, template part, post object, or pattern - * that the blocks belong to. If set to `null`, the current - * post is used. Default: `null`. + * that the blocks belong to. If set to `null`, `get_post()` + * will be called to use the current post as context. + * Default: `null`. * @param callable $callback A function that will be called for each block to generate * the markup for a given list of blocks that are hooked to it. * Default: 'insert_hooked_blocks'.