From 31569e11d07f784da97fb2ee335098e4c504618d Mon Sep 17 00:00:00 2001 From: audrasjb Date: Tue, 5 Mar 2024 13:39:13 +0000 Subject: [PATCH] Docs: Add missing `@global` mention in `wp_interactivity()`. This merges a changeset updated upstream in the Gutenberg repository. See https://github.com/WordPress/gutenberg/pull/59522. Props wildworks. Fixes #60677. See #59651. Built from https://develop.svn.wordpress.org/trunk@57774 git-svn-id: http://core.svn.wordpress.org/trunk@57275 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/blocks/post-template.php | 2 ++ wp-includes/interactivity-api/interactivity-api.php | 4 ++-- wp-includes/version.php | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/wp-includes/blocks/post-template.php b/wp-includes/blocks/post-template.php index 2c7502ca3b..6b0b72e9f3 100644 --- a/wp-includes/blocks/post-template.php +++ b/wp-includes/blocks/post-template.php @@ -36,6 +36,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. diff --git a/wp-includes/interactivity-api/interactivity-api.php b/wp-includes/interactivity-api/interactivity-api.php index 120551b7e2..cc2c812047 100644 --- a/wp-includes/interactivity-api/interactivity-api.php +++ b/wp-includes/interactivity-api/interactivity-api.php @@ -74,10 +74,10 @@ add_filter( 'render_block_data', 'wp_interactivity_process_directives_of_interac * It provides access to the WP_Interactivity_API instance, creating one if it * doesn't exist yet. * - * @global WP_Interactivity_API $wp_interactivity - * * @since 6.5.0 * + * @global WP_Interactivity_API $wp_interactivity + * * @return WP_Interactivity_API The main WP_Interactivity_API instance. */ function wp_interactivity(): WP_Interactivity_API { diff --git a/wp-includes/version.php b/wp-includes/version.php index b132236ca9..d68722bcb3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-beta3-57773'; +$wp_version = '6.5-beta3-57774'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.