NULL isn't set.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-12-17 08:32:43 +00:00
parent 4b4e4a02d2
commit 1ae98a24ab
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ function is_admin_bar_showing() {
if ( defined('XMLRPC_REQUEST') || defined('APP_REQUEST') || defined('DOING_AJAX') || defined('IFRAME_REQUEST') ) if ( defined('XMLRPC_REQUEST') || defined('APP_REQUEST') || defined('DOING_AJAX') || defined('IFRAME_REQUEST') )
return false; 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() ) ) { if ( ! is_user_logged_in() || ( is_admin() && ! is_multisite() ) ) {
$show_admin_bar = false; $show_admin_bar = false;
} else { } else {