WordPress.org

Make WordPress Core

Ticket #24364: 24364-2.patch

File 24364-2.patch, 2.0 KB (added by azaozz, 13 months ago)
  • wp-admin/user-edit.php

     
    376376?> 
    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 /> 
     379        <td> 
     380                <input type="text" value=" " style="display:none" /> 
     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><br /> 
    380382                <input type="password" name="pass2" id="pass2" size="16" value="" autocomplete="off" /> <span class="description"><?php _e("Type your new password again."); ?></span><br /> 
    381383                <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div> 
    382384                <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> 
  • wp-admin/user-new.php

     
    341341<?php if ( apply_filters('show_password_fields', true) ) : ?> 
    342342        <tr class="form-field form-required"> 
    343343                <th scope="row"><label for="pass1"><?php _e('Password'); ?> <span class="description"><?php /* translators: password input field */_e('(twice, required)'); ?></span></label></th> 
    344                 <td><input name="pass1" type="password" id="pass1" autocomplete="off" /> 
     344                <td> 
     345                <input type="text" value=" " style="display:none" /> 
     346                <input name="pass1" type="password" id="pass1" autocomplete="off" /> 
    345347                <br /> 
    346348                <input name="pass2" type="password" id="pass2" autocomplete="off" /> 
    347349                <br />