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.

Built from https://develop.svn.wordpress.org/trunk@36491


git-svn-id: http://core.svn.wordpress.org/trunk@36458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2016-02-07 01:22:26 +00:00
parent b1127321ec
commit a06a5ecfe9
2 changed files with 3 additions and 3 deletions

View File

@ -879,7 +879,7 @@ function _admin_bar_bump_cb() { ?>
* *
* @since 3.1.0 * @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. * @param bool $show Whether to allow the admin bar to show.
*/ */
@ -893,7 +893,7 @@ function show_admin_bar( $show ) {
* *
* @since 3.1.0 * @since 3.1.0
* *
* @global WP_Admin_Bar $wp_admin_bar * @global WP_Admin_Bar $show_admin_bar
* @global string $pagenow * @global string $pagenow
* *
* @return bool Whether the admin bar should be showing. * @return bool Whether the admin bar should be showing.

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.5-alpha-36490'; $wp_version = '4.5-alpha-36491';
/** /**
* 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.