Changeset 49248 for trunk/src/wp-admin/user-edit.php
- Timestamp:
- 10/20/2020 06:24:40 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/user-edit.php
r49109 r49248 633 633 <td> 634 634 <input class="hidden" value=" " /><!-- #24364 workaround --> 635 <button type="button" class="button wp-generate-pw hide-if-no-js" ><?php _e( 'GeneratePassword' ); ?></button>635 <button type="button" class="button wp-generate-pw hide-if-no-js" aria-expanded="false"><?php _e( 'Set New Password' ); ?></button> 636 636 <div class="wp-pwd hide-if-js"> 637 637 <span class="password-input-wrapper"> … … 642 642 <span class="text"><?php _e( 'Hide' ); ?></span> 643 643 </button> 644 <button type="button" class="button wp-cancel-pw hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Cancel password change' ); ?>">644 <button type="button" class="button wp-cancel-pw hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Cancel' ); ?>"> 645 645 <span class="dashicons dashicons-no" aria-hidden="true"></span> 646 646 <span class="text"><?php _e( 'Cancel' ); ?></span> … … 653 653 <th scope="row"><label for="pass2"><?php _e( 'Repeat New Password' ); ?></label></th> 654 654 <td> 655 <input name="pass2" type="password" id="pass2" class="regular-text" value="" autocomplete="off" /> 656 <p class="description"><?php _e( 'Type your new password again.' ); ?></p> 655 <input name="pass2" type="password" id="pass2" class="regular-text" value="" autocomplete="off" aria-describedby="pass2-desc" /> 656 <?php if ( IS_PROFILE_PAGE ) : ?> 657 <p class="description" id="pass2-desc"><?php _e( 'Type your new password again.' ); ?></p> 658 <?php else : ?> 659 <p class="description" id="pass2-desc"><?php _e( 'Type the new password again.' ); ?></p> 660 <?php endif; ?> 657 661 </td> 658 662 </tr> … … 662 666 <label> 663 667 <input type="checkbox" name="pw_weak" class="pw-checkbox" /> 664 <span id="pw-weak-text-label"><?php _e( 'Confirm use of potentiallyweak password' ); ?></span>668 <span id="pw-weak-text-label"><?php _e( 'Confirm use of weak password' ); ?></span> 665 669 </label> 666 670 </td>
Note: See TracChangeset
for help on using the changeset viewer.