Changeset 53041
- Timestamp:
- 03/31/2022 05:11:36 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
-
wp-includes/general-template.php (modified) (2 diffs)
-
wp-login.php (modified) (4 diffs)
-
wp-signup.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r53000 r53041 587 587 '<p class="login-username"> 588 588 <label for="%1$s">%2$s</label> 589 <input type="text" name="log" id="%1$s" class="input" value="%3$s" size="20" />589 <input type="text" name="log" id="%1$s" autocomplete="username" class="input" value="%3$s" size="20" /> 590 590 </p>', 591 591 esc_attr( $args['id_username'] ), … … 596 596 '<p class="login-password"> 597 597 <label for="%1$s">%2$s</label> 598 <input type="password" name="pwd" id="%1$s" class="input" value="" size="20" />598 <input type="password" name="pwd" id="%1$s" autocomplete="current-password" class="input" value="" size="20" /> 599 599 </p>', 600 600 esc_attr( $args['id_password'] ), -
trunk/src/wp-login.php
r52945 r53041 828 828 <p> 829 829 <label for="user_login"><?php _e( 'Username or Email Address' ); ?></label> 830 <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr( $user_login ); ?>" size="20" autocapitalize="off" />830 <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr( $user_login ); ?>" size="20" autocapitalize="off" autocomplete="username" /> 831 831 </p> 832 832 <?php … … 1061 1061 <p> 1062 1062 <label for="user_login"><?php _e( 'Username' ); ?></label> 1063 <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr( wp_unslash( $user_login ) ); ?>" size="20" autocapitalize="off" />1063 <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr( wp_unslash( $user_login ) ); ?>" size="20" autocapitalize="off" autocomplete="username" /> 1064 1064 </p> 1065 1065 <p> 1066 1066 <label for="user_email"><?php _e( 'Email' ); ?></label> 1067 <input type="email" name="user_email" id="user_email" class="input" value="<?php echo esc_attr( wp_unslash( $user_email ) ); ?>" size="25" />1067 <input type="email" name="user_email" id="user_email" class="input" value="<?php echo esc_attr( wp_unslash( $user_email ) ); ?>" size="25" autocomplete="email" /> 1068 1068 </p> 1069 1069 <?php … … 1388 1388 <p> 1389 1389 <label for="user_login"><?php _e( 'Username or Email Address' ); ?></label> 1390 <input type="text" name="log" id="user_login"<?php echo $aria_describedby_error; ?> class="input" value="<?php echo esc_attr( $user_login ); ?>" size="20" autocapitalize="off" />1390 <input type="text" name="log" id="user_login"<?php echo $aria_describedby_error; ?> class="input" value="<?php echo esc_attr( $user_login ); ?>" size="20" autocapitalize="off" autocomplete="username" /> 1391 1391 </p> 1392 1392 … … 1394 1394 <label for="user_pass"><?php _e( 'Password' ); ?></label> 1395 1395 <div class="wp-pwd"> 1396 <input type="password" name="pwd" id="user_pass"<?php echo $aria_describedby_error; ?> class="input password-input" value="" size="20" />1396 <input type="password" name="pwd" id="user_pass"<?php echo $aria_describedby_error; ?> class="input password-input" value="" size="20" autocomplete="current-password" /> 1397 1397 <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' ); ?>"> 1398 1398 <span class="dashicons dashicons-visibility" aria-hidden="true"></span> -
trunk/src/wp-signup.php
r52978 r53041 119 119 120 120 if ( ! is_subdomain_install() ) { 121 echo '<span class="prefix_address">' . $current_network->domain . $current_network->path . '</span><input name="blogname" type="text" id="blogname" value="' . esc_attr( $blogname ) . '" maxlength="60" /><br />';