Ticket #20294: 20294.diff

File 20294.diff, 1.7 KB (added by PhilippeVay, 14 months ago)

User profile edit: associates a label to 2nd password input and keeps existing styling

  • wp-admin/css/wp-admin.dev.css

     
    33083308p.help, 
    33093309p.description, 
    33103310span.description, 
     3311label.description, 
    33113312.form-wrap p { 
    33123313        font-size: 12px; 
    33133314        font-style: italic; 
     
    79017902.locale-zh-cn p.help, 
    79027903.locale-zh-cn p.description, 
    79037904.locale-zh-cn span.description, 
     7905.locale-zh-cn label.description, 
    79047906.locale-zh-cn .form-wrap p { 
    79057907        font-style: normal; 
    79067908} 
  • wp-admin/user-edit.php

     
    377377<tr id="password"> 
    378378        <th><label for="pass1"><?php _e('New Password'); ?></label></th> 
    379379        <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 /> 
     380                <input type="password" name="pass2" id="pass2" size="16" value="" autocomplete="off" /> <label class="description" for="pass2"><?php _e("Type your new password again."); ?></label><br /> 
    381381                <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div> 
    382382                <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> 
    383383        </td>