From 0e41b5d52fdc6af6442816b5f465c9db9f84e126 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 19 Sep 2024 06:51:18 +0200 Subject: Adding upstream version 6.6.1+dfsg1. Signed-off-by: Daniel Baumann --- wp-includes/blocks/post-template.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'wp-includes/blocks/post-template.php') diff --git a/wp-includes/blocks/post-template.php b/wp-includes/blocks/post-template.php index 2c7502c..9126355 100644 --- a/wp-includes/blocks/post-template.php +++ b/wp-includes/blocks/post-template.php @@ -8,6 +8,8 @@ /** * Determines whether a block list contains a block that uses the featured image. * + * @since 6.0.0 + * * @param WP_Block_List $inner_blocks Inner block instance. * * @return bool Whether the block list contains a block that uses the featured image. @@ -36,6 +38,8 @@ function block_core_post_template_uses_featured_image( $inner_blocks ) { * * @since 6.3.0 Changed render_block_context priority to `1`. * + * @global WP_Query $wp_query WordPress Query object. + * * @param array $attributes Block attributes. * @param string $content Block default content. * @param WP_Block $block Block instance. @@ -143,6 +147,8 @@ function render_block_core_post_template( $attributes, $content, $block ) { /** * Registers the `core/post-template` block on the server. + * + * @since 5.8.0 */ function register_block_core_post_template() { register_block_type_from_metadata( -- cgit v1.2.3