Docs: Correct the placement of `@global` tags in `wp-includes/admin-bar.php`.

Follow-up to [38810], [56209].

Props shailu25, sabernhardt.
See #60021.
Built from https://develop.svn.wordpress.org/trunk@57747


git-svn-id: http://core.svn.wordpress.org/trunk@57248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2024-03-01 22:43:11 +00:00
parent bee2debbd7
commit d3a22f538b
2 changed files with 4 additions and 3 deletions

View File

@ -450,9 +450,9 @@ function wp_admin_bar_site_menu( $wp_admin_bar ) {
* Adds the "Edit site" link to the Toolbar. * Adds the "Edit site" link to the Toolbar.
* *
* @since 5.9.0 * @since 5.9.0
* @since 6.3.0 Added `$_wp_current_template_id` global for editing of current template directly from the admin bar.
* *
* @global string $_wp_current_template_id * @global string $_wp_current_template_id
* @since 6.3.0 Added `$_wp_current_template_id` global for editing of current template directly from the admin bar.
* *
* @param WP_Admin_Bar $wp_admin_bar The WP_Admin_Bar instance. * @param WP_Admin_Bar $wp_admin_bar The WP_Admin_Bar instance.
*/ */
@ -489,8 +489,9 @@ function wp_admin_bar_edit_site_menu( $wp_admin_bar ) {
* *
* @since 4.3.0 * @since 4.3.0
* *
* @param WP_Admin_Bar $wp_admin_bar The WP_Admin_Bar instance.
* @global WP_Customize_Manager $wp_customize * @global WP_Customize_Manager $wp_customize
*
* @param WP_Admin_Bar $wp_admin_bar The WP_Admin_Bar instance.
*/ */
function wp_admin_bar_customize_menu( $wp_admin_bar ) { function wp_admin_bar_customize_menu( $wp_admin_bar ) {
global $wp_customize; global $wp_customize;

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.5-beta3-57746'; $wp_version = '6.5-beta3-57747';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.