Make WordPress Core


Ignore:
Timestamp:
09/16/2015 11:45:09 AM (9 years ago)
Author:
SergeyBiryukov
Message:

Reset Password: Move <div> out of <p> in wp-login.php.

Props ldinclaux.
Fixes #33892.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r34213 r34232  
    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
     659    <div class="wp-pwd">
     660        <span class="password-input-wrapper">
     661            <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" />
     662        </span>
     663        <div id="pass-strength-result" class="hide-if-no-js" aria-live="polite"><?php _e( 'Strength indicator' ); ?></div>
     664    </div>
     665
    664666    <p class="user-pass2-wrap">
    665         <label for="pass2"><?php _e('Confirm new password') ?></label><br />
     667        <label for="pass2"><?php _e( 'Confirm new password' ) ?></label><br />
    666668        <input type="password" name="pass2" id="pass2" class="input" size="20" value="" autocomplete="off" />
    667669    </p>
Note: See TracChangeset for help on using the changeset viewer.