Changeset 55094
- Timestamp:
- 01/19/2023 08:51:41 AM (2 years ago)
- Location:
- trunk/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r54881 r55094 2391 2391 <label for="password"> 2392 2392 <span class="field-title"><?php echo $label_pass; ?></span> 2393 <input name="password" type="password" id="password" value="<?php echo $password_value; ?>"<?php disabled( defined( 'FTP_PASS' ) ); ?> />2393 <input name="password" type="password" id="password" value="<?php echo $password_value; ?>"<?php disabled( defined( 'FTP_PASS' ) ); ?> spellcheck="false" /> 2394 2394 <?php 2395 2395 if ( ! defined( 'FTP_PASS' ) ) { -
trunk/src/wp-admin/install.php
r54326 r55094 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" 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" spellcheck="false" autocomplete="new-password" 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" />163 <input name="admin_password2" type="password" id="pass2" autocomplete="new-password" spellcheck="false" /> 164 164 </td> 165 165 </tr> -
trunk/src/wp-admin/user-edit.php
r55042 r55094 639 639 <div class="wp-pwd hide-if-js"> 640 640 <span class="password-input-wrapper"> 641 <input type="password" name="pass1" id="pass1" class="regular-text" value="" autocomplete="new-password" data-pw="<?php echo esc_attr( wp_generate_password( 24 ) ); ?>" aria-describedby="pass-strength-result" />641 <input type="password" name="pass1" id="pass1" class="regular-text" value="" autocomplete="new-password" spellcheck="false" data-pw="<?php echo esc_attr( wp_generate_password( 24 ) ); ?>" aria-describedby="pass-strength-result" /> 642 642 </span> 643 643 <button type="button" class="button wp-hide-pw hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Hide password' ); ?>"> … … 656 656 <th scope="row"><label for="pass2"><?php _e( 'Repeat New Password' ); ?></label></th> 657 657 <td> 658 <input name="pass2" type="password" id="pass2" class="regular-text" value="" autocomplete="new-password" aria-describedby="pass2-desc" />658 <input name="pass2" type="password" id="pass2" class="regular-text" value="" autocomplete="new-password" spellcheck="false" aria-describedby="pass2-desc" /> 659 659 <?php if ( IS_PROFILE_PAGE ) : ?> 660 660 <p class="description" id="pass2-desc"><?php _e( 'Type your new password again.' ); ?></p> -
trunk/src/wp-admin/user-new.php
r54857 r55094 572 572 <?php $initial_password = wp_generate_password( 24 ); ?> 573 573 <span class="password-input-wrapper"> 574 <input type="password" name="pass1" id="pass1" class="regular-text" autocomplete="new-password" data-reveal="1" data-pw="<?php echo esc_attr( $initial_password ); ?>" aria-describedby="pass-strength-result" />574 <input type="password" name="pass1" 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" /> 575 575 </span> 576 576 <button type="button" class="button wp-hide-pw hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Hide password' ); ?>"> … … 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" aria-describedby="pass2-desc" />587 <input name="pass2" type="password" 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-includes/general-template.php
r55051 r55094 596 596 '<p class="login-password"> 597 597 <label for="%1$s">%2$s</label> 598 <input type="password" name="pwd" id="%1$s" autocomplete="current-password" class="input" value="" size="20" />598 <input type="password" name="pwd" id="%1$s" autocomplete="current-password" spellcheck="false" class="input" value="" size="20" /> 599 599 </p>', 600 600 esc_attr( $args['id_password'] ), -
trunk/src/wp-includes/post-template.php
r54957 r55094 1753 1753 $output = '<form action="' . esc_url( site_url( 'wp-login.php?action=postpass', 'login_post' ) ) . '" class="post-password-form" method="post"> 1754 1754 <p>' . __( 'This content is password protected. To view it please enter your password below:' ) . '</p> 1755 <p><label for="' . $label . '">' . __( 'Password:' ) . ' <input name="post_password" id="' . $label . '" type="password" s ize="20" /></label> <input type="submit" name="Submit" value="' . esc_attr_x( 'Enter', 'post password form' ) . '" /></p></form>1755 <p><label for="' . $label . '">' . __( 'Password:' ) . ' <input name="post_password" id="' . $label . '" type="password" spellcheck="false" size="20" /></label> <input type="submit" name="Submit" value="' . esc_attr_x( 'Enter', 'post password form' ) . '" /></p></form> 1756 1756 '; 1757 1757 -
trunk/src/wp-login.php
r54866 r55094 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" aria-describedby="pass-strength-result" />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" /> 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' ); ?>"> … … 974 974 <p class="user-pass2-wrap"> 975 975 <label for="pass2"><?php _e( 'Confirm new password' ); ?></label> 976 <input type="password" name="pass2" id="pass2" class="input" size="20" value="" autocomplete="new-password" />976 <input type="password" name="pass2" id="pass2" class="input" size="20" value="" autocomplete="new-password" spellcheck="false" /> 977 977 </p> 978 978 … … 1424 1424 <label for="user_pass"><?php _e( 'Password' ); ?></label> 1425 1425 <div class="wp-pwd"> 1426 <input type="password" name="pwd" id="user_pass"<?php echo $aria_describedby; ?> class="input password-input" value="" size="20" autocomplete="current-password" />1426 <input type="password" name="pwd" id="user_pass"<?php echo $aria_describedby; ?> class="input password-input" value="" size="20" autocomplete="current-password" spellcheck="false" /> 1427 1427 <button type="button" class="button button-secondary wp-hide-pw hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Show password' ); ?>"> 1428 1428 <span class="dashicons dashicons-visibility" aria-hidden="true"></span>
Note: See TracChangeset
for help on using the changeset viewer.