Ticket #38606: 38606.patch
| File 38606.patch, 3.8 KB (added by , 10 years ago) |
|---|
-
wp-login.php
532 532 <form name="lostpasswordform" id="lostpasswordform" action="<?php echo esc_url( network_site_url( 'wp-login.php?action=lostpassword', 'login_post' ) ); ?>" method="post"> 533 533 <p> 534 534 <label for="user_login" ><?php _e( 'Username or Email Address' ); ?><br /> 535 <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr($user_login); ?>" size="20" /></label>535 <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr($user_login); ?>" size="20" aria-required="true" /></label> 536 536 </p> 537 537 <?php 538 538 /** … … 630 630 631 631 <div class="wp-pwd"> 632 632 <span class="password-input-wrapper"> 633 <input type="password" data-reveal="1" data-pw="<?php echo esc_attr( wp_generate_password( 16 ) ); ?>" name="pass1" id="pass1" class="input" size="20" value="" autocomplete="off" aria-describedby="pass-strength-result" />633 <input type="password" data-reveal="1" data-pw="<?php echo esc_attr( wp_generate_password( 16 ) ); ?>" name="pass1" id="pass1" class="input" size="20" value="" autocomplete="off" aria-describedby="pass-strength-result" aria-required="true" /> 634 634 </span> 635 635 <div id="pass-strength-result" class="hide-if-no-js" aria-live="polite"><?php _e( 'Strength indicator' ); ?></div> 636 636 </div> … … 638 638 639 639 <p class="user-pass2-wrap"> 640 640 <label for="pass2"><?php _e( 'Confirm new password' ) ?></label><br /> 641 <input type="password" name="pass2" id="pass2" class="input" size="20" value="" autocomplete="off" />641 <input type="password" name="pass2" id="pass2" class="input" size="20" value="" autocomplete="off" aria-required="true" /> 642 642 </p> 643 643 644 644 <p class="description indicator-hint"><?php echo wp_get_password_hint(); ?></p> … … 719 719 <form name="registerform" id="registerform" action="<?php echo esc_url( site_url( 'wp-login.php?action=register', 'login_post' ) ); ?>" method="post" novalidate="novalidate"> 720 720 <p> 721 721 <label for="user_login"><?php _e('Username') ?><br /> 722 <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr(wp_unslash($user_login)); ?>" size="20" /></label>722 <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr(wp_unslash($user_login)); ?>" size="20" aria-required="true" /></label> 723 723 </p> 724 724 <p> 725 725 <label for="user_email"><?php _e('Email') ?><br /> 726 <input type="email" name="user_email" id="user_email" class="input" value="<?php echo esc_attr( wp_unslash( $user_email ) ); ?>" size="25" /></label>726 <input type="email" name="user_email" id="user_email" class="input" value="<?php echo esc_attr( wp_unslash( $user_email ) ); ?>" size="25" aria-required="true" /></label> 727 727 </p> 728 728 <?php 729 729 /** … … 894 894 <form name="loginform" id="loginform" action="<?php echo esc_url( site_url( 'wp-login.php', 'login_post' ) ); ?>" method="post"> 895 895 <p> 896 896 <label for="user_login"><?php _e( 'Username or Email Address' ); ?><br /> 897 <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>897 <input type="text" name="log" id="user_login"<?php echo $aria_describedby_error; ?> class="input" value="<?php echo esc_attr( $user_login ); ?>" size="20" aria-required="true" /></label> 898 898 </p> 899 899 <p> 900 900 <label for="user_pass"><?php _e( 'Password' ); ?><br /> 901 <input type="password" name="pwd" id="user_pass"<?php echo $aria_describedby_error; ?> class="input" value="" size="20" /></label>901 <input type="password" name="pwd" id="user_pass"<?php echo $aria_describedby_error; ?> class="input" value="" size="20" aria-required="true" /></label> 902 902 </p> 903 903 <?php 904 904 /**