Make WordPress Core

Ticket #26079: 26079.2.diff

File 26079.2.diff, 2.1 KB (added by SergeyBiryukov, 11 years ago)

Minor formatting fixes

  • src/wp-admin/user-edit.php

     
    375375if ( $show_password_fields ) :
    376376?>
    377377<tr id="password">
    378         <th><label for="pass1"><?php _e('New Password'); ?></label></th>
     378        <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" size="16" value="" autocomplete="off" /><br />
     382                <span class="description"><?php _e( 'If you would like to change the password type a new one. Otherwise leave this blank.' ); ?></span>
    382383        </td>
    383384</tr>
    384385<tr>
    385         <th scope="row"><label for="pass2"><?php _e('Repeat New Password'); ?></label></th>
     386        <th scope="row"><label for="pass2"><?php _e( 'Repeat New Password' ); ?></label></th>
    386387        <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>
     388        <input name="pass2" type="password" id="pass2" class="regular-text" size="16" value="" autocomplete="off" /><br />
     389        <span class="description" for="pass2"><?php _e( 'Type your new password again.' ); ?></span>
    388390        <br />
    389         <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
    390         <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>
     391        <div id="pass-strength-result"><?php _e( 'Strength indicator' ); ?></div>
     392        <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>
    391393        </td>
    392394</tr>
    393395<?php endif; ?>