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
This commit is contained in:
Drew Jaynes 2016-02-07 01:21:14 +00:00
parent b925222cb9
commit 38aeeb5ebe
1 changed files with 2 additions and 2 deletions

View File

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