Skip to content

Commit

Permalink
Docs: Add missing @global mention in wp_interactivity().
Browse files Browse the repository at this point in the history
This merges a changeset updated upstream in the Gutenberg repository.
See WordPress/gutenberg#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
  • Loading branch information
audrasjb committed Mar 5, 2024
1 parent c774332 commit 31569e1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions wp-includes/blocks/post-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions wp-includes/interactivity-api/interactivity-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ function wp_interactivity_process_directives_of_interactive_blocks( array $parse
* 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 {
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 31569e1

Please sign in to comment.