mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00: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. git-svn-id: https://develop.svn.wordpress.org/trunk@32525 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user