Skip to content

Commit

Permalink
Docs: Correct the placement of @global tags in `wp-includes/admin-b…
Browse files Browse the repository at this point in the history
…ar.php`.

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

Props shailu25, sabernhardt.
See #60021.

git-svn-id: https://develop.svn.wordpress.org/trunk@57747 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Mar 1, 2024
1 parent bb7de8b commit 63a670d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/wp-includes/admin-bar.php
Original file line number Diff line number Diff line change
Expand Up @@ -450,9 +450,9 @@ function wp_admin_bar_site_menu( $wp_admin_bar ) {
* Adds the "Edit site" link to the Toolbar.
*
* @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
* @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.
*/
Expand Down Expand Up @@ -489,8 +489,9 @@ function wp_admin_bar_edit_site_menu( $wp_admin_bar ) {
*
* @since 4.3.0
*
* @param WP_Admin_Bar $wp_admin_bar The WP_Admin_Bar instance.
* @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 ) {
global $wp_customize;
Expand Down

0 comments on commit 63a670d

Please sign in to comment.