From 38aeeb5ebecc028eb52705c51ed3a8082c1eae80 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 7 Feb 2016 01:21:14 +0000 Subject: [PATCH] Docs: Fix two notations in the DocBlocks for `show_admin_bar()` and `is_admin_bar_showing()` to reflect use of the `$show_admin_bar` global rather than `$wp_admin_bar`. Props Frozzare. Fixes #35686. git-svn-id: https://develop.svn.wordpress.org/trunk@36491 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/admin-bar.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/admin-bar.php b/src/wp-includes/admin-bar.php index e31b87bac9..6abd98109c 100644 --- a/src/wp-includes/admin-bar.php +++ b/src/wp-includes/admin-bar.php @@ -879,7 +879,7 @@ function _admin_bar_bump_cb() { ?> * * @since 3.1.0 * - * @global WP_Admin_Bar $wp_admin_bar + * @global WP_Admin_Bar $show_admin_bar * * @param bool $show Whether to allow the admin bar to show. */ @@ -893,7 +893,7 @@ function show_admin_bar( $show ) { * * @since 3.1.0 * - * @global WP_Admin_Bar $wp_admin_bar + * @global WP_Admin_Bar $show_admin_bar * @global string $pagenow * * @return bool Whether the admin bar should be showing.