diff --git a/src/wp-admin/includes/misc.php b/src/wp-admin/includes/misc.php index 86a679d794..be8e2b218e 100644 --- a/src/wp-admin/includes/misc.php +++ b/src/wp-admin/includes/misc.php @@ -561,7 +561,7 @@ function saveDomDocument($doc, $filename) { * * @since 3.0.0 */ -function admin_color_scheme_picker() { +function admin_color_scheme_picker( $user_id ) { global $_wp_admin_css_colors; ksort( $_wp_admin_css_colors ); @@ -571,7 +571,7 @@ function admin_color_scheme_picker() { $_wp_admin_css_colors = array_filter( array_merge( array( 'fresh' => '', 'light' => '' ), $_wp_admin_css_colors ) ); } - $current_color = get_user_option( 'admin_color' ); + $current_color = get_user_option( 'admin_color', $user_id ); if ( empty( $current_color ) || ! isset( $_wp_admin_css_colors[ $current_color ] ) ) { $current_color = 'fresh'; diff --git a/src/wp-admin/user-edit.php b/src/wp-admin/user-edit.php index 90c8811a5f..528d56b61a 100644 --- a/src/wp-admin/user-edit.php +++ b/src/wp-admin/user-edit.php @@ -260,7 +260,7 @@ if ( ! IS_PROFILE_PAGE ) { * @since 3.0.0 */ ?> - +