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:
Ryan Boren 2008-05-05 20:06:37 +00:00
parent 8d1274905e
commit 633183e8b6
1 changed files with 1 additions and 1 deletions

View File

@ -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 ): ?>