diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 3a2bd460a0..f3572bb99e 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -4487,8 +4487,8 @@ function show_admin_bar( $show ) { // Remove the object if we are not going to be showing // Otherwise you have to call this function prior to the init hook for it to work! - if ( ! $show_admin_bar && isset( $GLOBALS['wp_admin_bar'] ) ) - $GLOBALS['wp_admin_bar'] = null; + if ( ! $show_admin_bar && isset( $GLOBALS['wp_admin_bar'] ) ) + $GLOBALS['wp_admin_bar'] = null; } ?> \ No newline at end of file