Changeset 58623
- Timestamp:
- 07/02/2024 05:44:50 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-login.php
r58224 r58623 1161 1161 <p> 1162 1162 <label for="user_login"><?php _e( 'Username' ); ?></label> 1163 <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" required="required" />1163 <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr( $user_login ); ?>" size="20" autocapitalize="off" autocomplete="username" required="required" /> 1164 1164 </p> 1165 1165 <p> 1166 1166 <label for="user_email"><?php _e( 'Email' ); ?></label> 1167 <input type="email" name="user_email" id="user_email" class="input" value="<?php echo esc_attr( wp_unslash( $user_email )); ?>" size="25" autocomplete="email" required="required" />1167 <input type="email" name="user_email" id="user_email" class="input" value="<?php echo esc_attr( $user_email ); ?>" size="25" autocomplete="email" required="required" /> 1168 1168 </p> 1169 1169 <?php … … 1483 1483 1484 1484 if ( isset( $_POST['log'] ) ) { 1485 $user_login = ( 'incorrect_password' === $errors->get_error_code() || 'empty_password' === $errors->get_error_code() ) ? esc_attr( wp_unslash( $_POST['log'] )) : '';1485 $user_login = ( 'incorrect_password' === $errors->get_error_code() || 'empty_password' === $errors->get_error_code() ) ? wp_unslash( $_POST['log'] ) : ''; 1486 1486 } 1487 1487
Note: See TracChangeset
for help on using the changeset viewer.