diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php index 99caaa7f9f..1a460e9d15 100644 --- a/wp-includes/admin-bar.php +++ b/wp-includes/admin-bar.php @@ -442,7 +442,7 @@ function is_admin_bar_showing() { function _get_admin_bar_pref( $context, $user = 0 ) { $pref = get_user_option( "show_admin_bar_{$context}", $user ); if ( false === $pref ) - return 'admin' != $context || is_multisite(); + return true; return 'true' === $pref; } diff --git a/wp-includes/user.php b/wp-includes/user.php index af7f5de573..44262cd3c9 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -1463,7 +1463,7 @@ function wp_insert_user($userdata) { $show_admin_bar_front = 'true'; if ( empty($show_admin_bar_admin) ) - $show_admin_bar_admin = is_multisite() ? 'true' : 'false'; + $show_admin_bar_admin = 'true'; $user_nicename_check = $wpdb->get_var( $wpdb->prepare("SELECT ID FROM $wpdb->users WHERE user_nicename = %s AND user_login != %s LIMIT 1" , $user_nicename, $user_login));