From 17749f1d23079b079214c4f72637585f877f3897 Mon Sep 17 00:00:00 2001 From: joedolson Date: Tue, 20 Jun 2023 22:48:21 +0000 Subject: [PATCH] Login and Registration: Add `required` to Username/password inputs. Add the `required` attributes to username and password inputs for login. Props aznadesign, sanchothefat, alexstine, nant82, swissspidy, afercia, d-signed, joedolson. Fixes #32510. Built from https://develop.svn.wordpress.org/trunk@55953 git-svn-id: http://core.svn.wordpress.org/trunk@55465 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-login.php | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 213d50f749..42f3a9fec4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-55952'; +$wp_version = '6.3-alpha-55953'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-login.php b/wp-login.php index e53eedb2c4..67d7db07a5 100644 --- a/wp-login.php +++ b/wp-login.php @@ -842,7 +842,7 @@ switch ( $action ) {

- +

" method="post" novalidate="novalidate">

- +

- +

" method="post">

- class="input" value="" size="20" autocapitalize="off" autocomplete="username" /> + class="input" value="" size="20" autocapitalize="off" autocomplete="username" required="required" />

- class="input password-input" value="" size="20" autocomplete="current-password" spellcheck="false" /> + class="input password-input" value="" size="20" autocomplete="current-password" spellcheck="false" required="required" />