Get color option for user being edited, not current user. Props regulatethis. fixes #6911 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
04b03a7906
commit
ecc6151966
|
@ -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