Changeset 55145
- Timestamp:
- 01/26/2023 06:10:54 PM (10 months ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/install.php
r55094 r55145 141 141 <div class="wp-pwd"> 142 142 <?php $initial_password = isset( $_POST['admin_password'] ) ? stripslashes( $_POST['admin_password'] ) : wp_generate_password( 18 ); ?> 143 <input type="password" name="admin_password" id="pass1" class="regular-text" spellcheck="false" autocomplete="new-password" data-reveal="1" data-pw="<?php echo esc_attr( $initial_password ); ?>" aria-describedby="pass-strength-result" />143 <input type="password" name="admin_password" id="pass1" class="regular-text" autocomplete="new-password" spellcheck="false" data-reveal="1" data-pw="<?php echo esc_attr( $initial_password ); ?>" aria-describedby="pass-strength-result" /> 144 144 <button type="button" class="button wp-hide-pw hide-if-no-js" data-start-masked="<?php echo (int) isset( $_POST['admin_password'] ); ?>" data-toggle="0" aria-label="<?php esc_attr_e( 'Hide password' ); ?>"> 145 145 <span class="dashicons dashicons-hidden"></span> … … 161 161 </th> 162 162 <td> 163 <input name="admin_password2" type="password" id="pass2" autocomplete="new-password" spellcheck="false" />163 <input type="password" name="admin_password2" id="pass2" autocomplete="new-password" spellcheck="false" /> 164 164 </td> 165 165 </tr> -
trunk/src/wp-admin/user-edit.php
r55099 r55145 662 662 <th scope="row"><label for="pass2"><?php _e( 'Repeat New Password' ); ?></label></th> 663 663 <td> 664 <input name="pass2" type="password" id="pass2" class="regular-text" value="" autocomplete="new-password" spellcheck="false" aria-describedby="pass2-desc" />664 <input type="password" name="pass2" id="pass2" class="regular-text" value="" autocomplete="new-password" spellcheck="false" aria-describedby="pass2-desc" /> 665 665 <?php if ( IS_PROFILE_PAGE ) : ?> 666 666 <p class="description" id="pass2-desc"><?php _e( 'Type your new password again.' ); ?></p> -
trunk/src/wp-admin/user-new.php
r55094 r55145 585 585 <th scope="row"><label for="pass2"><?php _e( 'Repeat Password' ); ?> <span class="description"><?php _e( '(required)' ); ?></span></label></th> 586 586 <td> 587 <input name="pass2" type="password" id="pass2" autocomplete="new-password" spellcheck="false" aria-describedby="pass2-desc" />587 <input type="password" name="pass2" id="pass2" autocomplete="new-password" spellcheck="false" aria-describedby="pass2-desc" /> 588 588 <p class="description" id="pass2-desc"><?php _e( 'Type the password again.' ); ?></p> 589 589 </td> -
trunk/src/wp-login.php
r55094 r55145 959 959 960 960 <div class="wp-pwd"> 961 <input type="password" data-reveal="1" data-pw="<?php echo esc_attr( wp_generate_password( 16 ) ); ?>" name="pass1" id="pass1" class="input password-input" size="24" value="" autocomplete="new-password" spellcheck="false" aria-describedby="pass-strength-result" />961 <input type="password" name="pass1" id="pass1" class="input password-input" size="24" value="" autocomplete="new-password" spellcheck="false" data-reveal="1" data-pw="<?php echo esc_attr( wp_generate_password( 16 ) ); ?>" aria-describedby="pass-strength-result" /> 962 962 963 963 <button type="button" class="button button-secondary wp-hide-pw hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Hide password' ); ?>">
Note: See TracChangeset
for help on using the changeset viewer.