WordPress.org

Make WordPress Core

Ticket #20294: 20294.3.diff

File 20294.3.diff, 2.8 KB (added by MikeHansenMe, 5 years ago)

changes '(required)' to 'Required' based on .2 patch

  • wp-admin/user-new.php

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

     
    378378<tr id="password">
    379379        <th><label for="pass1"><?php _e('New Password'); ?></label></th>
    380380        <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 />
     381                <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 />
    382382                <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
    383383                <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>
    384384        </td>
  • wp-admin/css/wp-admin.css

     
    35963596p.help,
    35973597p.description,
    35983598span.description,
     3599label.description,
    35993600.form-wrap p {
    36003601        font-size: 12px;
    36013602        font-style: italic;
     
    85408541.locale-zh-cn p.help,
    85418542.locale-zh-cn p.description,
    85428543.locale-zh-cn span.description,
     8544.locale-zh-cn label.description,
    85438545.locale-zh-cn .form-wrap p {
    85448546        font-style: normal;
    85458547}