summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/post-template.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/post-template.php')
-rw-r--r--wp-includes/blocks/post-template.php6
1 files changed, 6 insertions, 0 deletions
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(