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.


git-svn-id: https://develop.svn.wordpress.org/trunk@32525 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-05-21 20:09:00 +00:00
parent f0d6031d9b
commit cb145bd1c0
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ function wp_admin_bar_render() {
global $wp_admin_bar;
if ( ! is_admin_bar_showing() || ! is_object( $wp_admin_bar ) )
return false;
return;
/**
* Load all necessary admin bar items.