Make WordPress Core


Ignore:
Timestamp:
03/12/2008 08:10:00 AM (18 years ago)
Author:
ryan
Message:

Image fixes from andy. see #5911

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-edit.php

    r7259 r7263  
    158158<td>
    159159<?php
     160$current_color = get_user_option('admin_color');
     161if ( empty($current_color) )
     162        $current_color = 'classic';
    160163foreach ( $_wp_admin_css_colors as $color => $color_info ): ?>
    161 <label class="color-option"><input name="admin_color" type="radio" value="<?php echo $color ?>" class="tog" <?php checked($color, get_user_option('admin_color')); ?> />
     164<label class="color-option"><input name="admin_color" type="radio" value="<?php echo $color ?>" class="tog" <?php checked($color, $current_color); ?> />
    162165        <table class="color-palette">
    163166        <tr>
Note: See TracChangeset for help on using the changeset viewer.