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:
Scott Taylor 2015-05-21 20:09:24 +00:00
parent 9d54232e39
commit c92608aebd
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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.