Networks and Sites: Fix the attributes for the email input field on the new network user screen.

This reverts the email input field back to its previous state (before [55026]), except for the expected addition of the `required` attribute.

Follow-up to [55026].

Props johnbillion.
Fixes #38460.

Built from https://develop.svn.wordpress.org/trunk@55394


git-svn-id: http://core.svn.wordpress.org/trunk@54927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-02-21 14:52:18 +00:00
parent 8211ef5c3a
commit a8c80af126
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ if ( isset( $add_user_errors ) && is_wp_error( $add_user_errors ) ) {
</tr>
<tr class="form-field form-required">
<th scope="row"><label for="email"><?php _e( 'Email' ); ?> <?php echo wp_required_field_indicator(); ?></label></th>
<td><input type="text" class="regular-text" name="user[username]" id="username" autocapitalize="none" autocorrect="off" maxlength="60" required="required" /></td>
<td><input type="email" class="regular-text" name="user[email]" id="email" required="required" /></td>
</tr>
<tr class="form-field">
<td colspan="2" class="td-full"><?php _e( 'A password reset link will be sent to the user via email.' ); ?></td>

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.2-beta2-55393';
$wp_version = '6.2-beta2-55394';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.