From c92608aebd4198cbb2636b089789f08033f278a2 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Thu, 21 May 2015 20:09:24 +0000 Subject: [PATCH] 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 --- wp-includes/admin-bar.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php index 746fdca782..82520e0387 100644 --- a/wp-includes/admin-bar.php +++ b/wp-includes/admin-bar.php @@ -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. diff --git a/wp-includes/version.php b/wp-includes/version.php index 5244f5eb02..0b68b7f080 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.