mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-26 06:04:31 +00: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. git-svn-id: https://develop.svn.wordpress.org/trunk@36601 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user