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
This commit is contained in:
audrasjb 2024-03-05 13:39:13 +00:00
parent c774332090
commit 31569e11d0
3 changed files with 5 additions and 3 deletions

View File

@ -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.

View File

@ -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 {

View File

@ -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.