Make WordPress Core


Ignore:
Timestamp:
06/30/2013 11:13:34 AM (12 years ago)
Author:
ocean90
Message:

Add a label to the second password field on User New and User Edit screen. props MikeHansenMe. fixes #20294.

File:
1 edited

Legend:

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

    r24317 r24531  
    377377<tr id="password">
    378378    <th><label for="pass1"><?php _e('New Password'); ?></label></th>
    379     <td><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><br />
    380         <input type="password" name="pass2" id="pass2" size="16" value="" autocomplete="off" /> <span class="description"><?php _e("Type your new password again."); ?></span><br />
    381         <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
    382         <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>
     379    <td><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>
     380    </td>
     381</tr>
     382<tr>
     383    <th scope="row"><label for="pass2"><?php _e('Repeat New Password'); ?></label></th>
     384    <td>
     385    <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>
     386    <br />
     387    <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
     388    <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>
    383389    </td>
    384390</tr>
Note: See TracChangeset for help on using the changeset viewer.