mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 15:31:42 +01:00
Docs: Fix two incorrect notations of the $show_admin_bar
global to specify a boolean type, not WP_Admin_Bar
.
See [36491]. Fixes #35686. Built from https://develop.svn.wordpress.org/trunk@36601 git-svn-id: http://core.svn.wordpress.org/trunk@36568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0307aadf0f
commit
f636747fa4
@ -879,7 +879,7 @@ function _admin_bar_bump_cb() { ?>
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @global WP_Admin_Bar $show_admin_bar
|
||||
* @global bool $show_admin_bar
|
||||
*
|
||||
* @param bool $show Whether to allow the admin bar to show.
|
||||
*/
|
||||
@ -893,8 +893,8 @@ function show_admin_bar( $show ) {
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @global WP_Admin_Bar $show_admin_bar
|
||||
* @global string $pagenow
|
||||
* @global bool $show_admin_bar
|
||||
* @global string $pagenow
|
||||
*
|
||||
* @return bool Whether the admin bar should be showing.
|
||||
*/
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-alpha-36600';
|
||||
$wp_version = '4.5-alpha-36601';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user