Make WordPress Core


Ignore:
Timestamp:
10/02/2014 07:39:14 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Use a more consistent markup on taxonomy and user screens.

props paulwilde.
fixes #29842.

File:
1 edited

Legend:

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

    r29804 r29820  
    447447<tr class="user-description-wrap">
    448448    <th><label for="description"><?php _e('Biographical Info'); ?></label></th>
    449     <td><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description; // textarea_escaped ?></textarea><br />
    450     <span class="description"><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></span></td>
     449    <td><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description; // textarea_escaped ?></textarea>
     450    <p class="description"><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></p></td>
    451451</tr>
    452452
     
    460460    <td>
    461461        <input class="hidden" value=" " /><!-- #24364 workaround -->
    462         <input type="password" name="pass1" id="pass1" class="regular-text" size="16" value="" autocomplete="off" /><br />
    463         <span class="description"><?php _e( 'If you would like to change the password type a new one. Otherwise leave this blank.' ); ?></span>
     462        <input type="password" name="pass1" id="pass1" class="regular-text" size="16" value="" autocomplete="off" />
     463        <p class="description"><?php _e( 'If you would like to change the password type a new one. Otherwise leave this blank.' ); ?></p>
    464464    </td>
    465465</tr>
     
    467467    <th scope="row"><label for="pass2"><?php _e( 'Repeat New Password' ); ?></label></th>
    468468    <td>
    469     <input name="pass2" type="password" id="pass2" class="regular-text" size="16" value="" autocomplete="off" /><br />
    470     <span class="description" for="pass2"><?php _e( 'Type your new password again.' ); ?></span>
     469    <input name="pass2" type="password" id="pass2" class="regular-text" size="16" value="" autocomplete="off" />
     470    <p class="description"><?php _e( 'Type your new password again.' ); ?></p>
    471471    <br />
    472472    <div id="pass-strength-result"><?php _e( 'Strength indicator' ); ?></div>
Note: See TracChangeset for help on using the changeset viewer.