mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 02:10:45 +01:00
In admin-bar.php
, most functions simply return when a conditional is not met. wp_admin_bar_render()
shouldn't explicitly return false
.
See #32444. Built from https://develop.svn.wordpress.org/trunk@32525 git-svn-id: http://core.svn.wordpress.org/trunk@32495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9d54232e39
commit
c92608aebd
@ -60,7 +60,7 @@ function wp_admin_bar_render() {
|
|||||||
global $wp_admin_bar;
|
global $wp_admin_bar;
|
||||||
|
|
||||||
if ( ! is_admin_bar_showing() || ! is_object( $wp_admin_bar ) )
|
if ( ! is_admin_bar_showing() || ! is_object( $wp_admin_bar ) )
|
||||||
return false;
|
return;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load all necessary admin bar items.
|
* Load all necessary admin bar items.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.3-alpha-32524';
|
$wp_version = '4.3-alpha-32525';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user