Make WordPress Core

Ticket #22973: user-edit.diff

File user-edit.diff, 1.7 KB (added by keenbeen, 11 years ago)

Patch to wp-admin/user-edit.php

  • wp-admin/user-edit.php

     
    201201
    202202<h3><?php _e('Personal Options'); ?></h3>
    203203
    204 <table class="form-table">
     204<table class="form-table visual-editor">
    205205<?php if ( rich_edit_exists() && !( IS_PROFILE_PAGE && !$user_can_edit ) ) : // don't bother showing the option if the editor has been removed ?>
    206206        <tr>
    207207                <th scope="row"><?php _e('Visual Editor')?></th>
     
    239239
    240240<h3><?php _e('Name') ?></h3>
    241241
    242 <table class="form-table">
     242<table class="form-table name">
    243243        <tr>
    244244                <th><label for="user_login"><?php _e('Username'); ?></label></th>
    245245                <td><input type="text" name="user_login" id="user_login" value="<?php echo esc_attr($profileuser->user_login); ?>" disabled="disabled" class="regular-text" /> <span class="description"><?php _e('Usernames cannot be changed.'); ?></span></td>
     
    331331
    332332<h3><?php _e('Contact Info') ?></h3>
    333333
    334 <table class="form-table">
     334<table class="form-table contact">
    335335<tr>
    336336        <th><label for="email"><?php _e('E-mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th>
    337337        <td><input type="text" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text" />
     
    364364
    365365<h3><?php IS_PROFILE_PAGE ? _e('About Yourself') : _e('About the user'); ?></h3>
    366366
    367 <table class="form-table">
     367<table class="form-table about">
    368368<tr>
    369369        <th><label for="description"><?php _e('Biographical Info'); ?></label></th>
    370370        <td><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description; // textarea_escaped ?></textarea><br />