Get color option for user being edited, not current user. Props regulatethis. fixes #6911 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7898 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8d1274905e
commit
633183e8b6
@ -164,7 +164,7 @@ include ('admin-header.php');
|
||||
<th scope="row"><?php _e('Admin Color Scheme')?></th>
|
||||
<td><fieldset><legend class="hidden"><?php _e('Admin Color Scheme')?></legend>
|
||||
<?php
|
||||
$current_color = get_user_option('admin_color');
|
||||
$current_color = get_user_option('admin_color', $user_id);
|
||||
if ( empty($current_color) )
|
||||
$current_color = 'fresh';
|
||||
foreach ( $_wp_admin_css_colors as $color => $color_info ): ?>
|
||||
|
Loading…
Reference in New Issue
Block a user