mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-26 06:13:07 +02:00
Login and Registration: Instruct the browser to disable autocapitalisation for the user login field on the login screen.
Props drywallbmb Fixes #42886 Built from https://develop.svn.wordpress.org/trunk@42406 git-svn-id: http://core.svn.wordpress.org/trunk@42235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e123166a3a
commit
3ee38c0a05
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-alpha-42405';
|
||||
$wp_version = '5.0-alpha-42406';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
@ -603,7 +603,7 @@ switch ( $action ) {
|
||||
<form name="lostpasswordform" id="lostpasswordform" action="<?php echo esc_url( network_site_url( 'wp-login.php?action=lostpassword', 'login_post' ) ); ?>" method="post">
|
||||
<p>
|
||||
<label for="user_login" ><?php _e( 'Username or Email Address' ); ?><br />
|
||||
<input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr( $user_login ); ?>" size="20" /></label>
|
||||
<input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr( $user_login ); ?>" size="20" autocapitalize="off" /></label>
|
||||
</p>
|
||||
<?php
|
||||
/**
|
||||
@ -823,7 +823,7 @@ switch ( $action ) {
|
||||
<form name="registerform" id="registerform" action="<?php echo esc_url( site_url( 'wp-login.php?action=register', 'login_post' ) ); ?>" method="post" novalidate="novalidate">
|
||||
<p>
|
||||
<label for="user_login"><?php _e( 'Username' ); ?><br />
|
||||
<input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr( wp_unslash( $user_login ) ); ?>" size="20" /></label>
|
||||
<input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr( wp_unslash( $user_login ) ); ?>" size="20" autocapitalize="off" /></label>
|
||||
</p>
|
||||
<p>
|
||||
<label for="user_email"><?php _e( 'Email' ); ?><br />
|
||||
@ -1025,7 +1025,7 @@ switch ( $action ) {
|
||||
<form name="loginform" id="loginform" action="<?php echo esc_url( site_url( 'wp-login.php', 'login_post' ) ); ?>" method="post">
|
||||
<p>
|
||||
<label for="user_login"><?php _e( 'Username or Email Address' ); ?><br />
|
||||
<input type="text" name="log" id="user_login"<?php echo $aria_describedby_error; ?> class="input" value="<?php echo esc_attr( $user_login ); ?>" size="20" /></label>
|
||||
<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" /></label>
|
||||
</p>
|
||||
<p>
|
||||
<label for="user_pass"><?php _e( 'Password' ); ?><br />
|
||||
|
Loading…
Reference in New Issue
Block a user