Make WordPress Core

Ticket #20294: 20294.5.diff

File 20294.5.diff, 3.0 KB (added by MikeHansenMe, 12 years ago)
  • wp-admin/user-new.php

     
    340340        </tr>
    341341<?php if ( apply_filters('show_password_fields', true) ) : ?>
    342342        <tr class="form-field form-required">
    343                 <th scope="row"><label for="pass1"><?php _e('Password'); ?> <span class="description"><?php /* translators: password input field */_e('(twice, required)'); ?></span></label></th>
     343                <th scope="row"><label for="pass1"><?php _e('Password'); ?> <span class="description"><?php /* translators: password input field */_e('(required)'); ?></span></label></th>
    344344                <td><input name="pass1" type="password" id="pass1" autocomplete="off" />
    345                 <br />
     345                </td>
     346        </tr>
     347        <tr class="form-field form-required">
     348                <th scope="row"><label for="pass2"><?php _e('Repeat Password'); ?> <span class="description"><?php /* translators: password input field */_e('(required)'); ?></span></label></th>
     349                <td scope="row">
    346350                <input name="pass2" type="password" id="pass2" autocomplete="off" />
    347351                <br />
    348352                <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
  • wp-admin/user-edit.php

     
    377377?>
    378378<tr id="password">
    379379        <th><label for="pass1"><?php _e('New Password'); ?></label></th>
    380         <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 />
    381                 <input type="password" name="pass2" id="pass2" size="16" value="" autocomplete="off" /> <span class="description"><?php _e("Type your new password again."); ?></span><br />
    382                 <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
    383                 <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>
     380        <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>
    384381        </td>
    385382</tr>
     383<tr>
     384        <th scope="row"><label for="pass2"><?php _e('Repeat New Password'); ?></label></th>
     385        <td>
     386        <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        <br />
     388        <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
     389        <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>
     390        </td>
     391</tr>
    386392<?php endif; ?>
    387393</table>
    388394