Make WordPress Core

Ticket #33892: semantic_error.diff

File semantic_error.diff, 1.5 KB (added by ldinclaux, 8 years ago)

Fix

  • wp-login.php

     
    653653        <input type="hidden" id="user_login" value="<?php echo esc_attr( $rp_login ); ?>" autocomplete="off" />
    654654
    655655        <p class="user-pass1-wrap">
    656                 <label for="pass1"><?php _e('New password') ?></label><br />
    657                 <div class="wp-pwd">
    658                         <span class="password-input-wrapper">
    659                                 <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" />
    660                         </span>
    661                         <div id="pass-strength-result" class="hide-if-no-js" aria-live="polite"><?php _e( 'Strength indicator' ); ?></div>
    662                 </div>
     656                <label for="pass1"><?php _e('New password') ?></label>
    663657        </p>
     658        <div class="wp-pwd">
     659                <span class="password-input-wrapper">
     660                        <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" />
     661                </span>
     662                <div id="pass-strength-result" class="hide-if-no-js" aria-live="polite"><?php _e( 'Strength indicator' ); ?></div>
     663        </div>
     664
    664665        <p class="user-pass2-wrap">
    665666                <label for="pass2"><?php _e('Confirm new password') ?></label><br />
    666667                <input type="password" name="pass2" id="pass2" class="input" size="20" value="" autocomplete="off" />