Make WordPress Core

Changeset 26253


Ignore:
Timestamp:
11/18/2013 09:30:19 PM (10 years ago)
Author:
iammattthomas
Message:

Make password inputs on profile.php match the width of other text inputs. Fixes #26079, props johnbillion.

File:
1 edited

Legend:

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

    r25616 r26253  
    376376?>
    377377<tr id="password">
    378     <th><label for="pass1"><?php _e('New Password'); ?></label></th>
     378    <th><label for="pass1"><?php _e( 'New Password' ); ?></label></th>
    379379    <td>
    380380        <input class="hidden" value=" " /><!-- #24364 workaround -->
    381         <input type="password" name="pass1" id="pass1" size="16" value="" autocomplete="off" /> <span class="description"><?php _e("If you would like to change the password type a new one. Otherwise leave this blank."); ?></span>
     381        <input type="password" name="pass1" id="pass1" class="regular-text" size="16" value="" autocomplete="off" /><br />
     382        <span class="description"><?php _e( 'If you would like to change the password type a new one. Otherwise leave this blank.' ); ?></span>
    382383    </td>
    383384</tr>
    384385<tr>
    385     <th scope="row"><label for="pass2"><?php _e('Repeat New Password'); ?></label></th>
     386    <th scope="row"><label for="pass2"><?php _e( 'Repeat New Password' ); ?></label></th>
    386387    <td>
    387     <input name="pass2" type="password" id="pass2" size="16" value="" autocomplete="off" /> <span class="description" for="pass2"><?php _e("Type your new password again."); ?></span>
     388    <input name="pass2" type="password" id="pass2" class="regular-text" size="16" value="" autocomplete="off" /><br />
     389    <span class="description" for="pass2"><?php _e( 'Type your new password again.' ); ?></span>
    388390    <br />
    389     <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
    390     <p class="description indicator-hint"><?php _e('Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ &amp; ).'); ?></p>
     391    <div id="pass-strength-result"><?php _e( 'Strength indicator' ); ?></div>
     392    <p class="description indicator-hint"><?php _e( 'Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ &amp; ).' ); ?></p>
    391393    </td>
    392394</tr>
Note: See TracChangeset for help on using the changeset viewer.