Make WordPress Core

Ticket #26079: 26079.diff

File 26079.diff, 1.6 KB (added by johnbillion, 11 years ago)
  • wp-admin/user-edit.php

    diff --git wp-admin/user-edit.php wp-admin/user-edit.php
    index 5f7249d..f519de5 100644
    if ( $show_password_fields ) : 
    378378        <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" value="" autocomplete="off" /><br><span class="description"><?php _e("If you would like to change the password type a new one. Otherwise leave this blank."); ?></span>
    382382        </td>
    383383</tr>
    384384<tr>
    385385        <th scope="row"><label for="pass2"><?php _e('Repeat New Password'); ?></label></th>
    386386        <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>
     387        <input name="pass2" type="password" id="pass2" class="regular-text" value="" autocomplete="off" /><br><span class="description" for="pass2"><?php _e("Type your new password again."); ?></span>
    388388        <br />
    389389        <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
    390390        <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>