From 1ae98a24ab0fd1def44218e137129f966b677405 Mon Sep 17 00:00:00 2001 From: nacin Date: Fri, 17 Dec 2010 08:32:43 +0000 Subject: [PATCH] NULL isn't set. git-svn-id: http://svn.automattic.com/wordpress/trunk@17019 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/admin-bar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php index 6b79b97ce8..d186b244e2 100644 --- a/wp-includes/admin-bar.php +++ b/wp-includes/admin-bar.php @@ -313,7 +313,7 @@ function is_admin_bar_showing() { if ( defined('XMLRPC_REQUEST') || defined('APP_REQUEST') || defined('DOING_AJAX') || defined('IFRAME_REQUEST') ) return false; - if ( ! isset( $show_admin_bar ) || null === $show_admin_bar ) { + if ( ! isset( $show_admin_bar ) ) { if ( ! is_user_logged_in() || ( is_admin() && ! is_multisite() ) ) { $show_admin_bar = false; } else {