Changeset 41556
- Timestamp:
- 09/21/2017 09:28:07 PM (7 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/login.css
r41062 r41556 72 72 margin: 0; 73 73 padding: 0; 74 } 75 76 .login .password-input-wrapper { 77 display: table; 78 } 79 80 .login .input.password-input { 81 display: table-cell; 82 margin: 0; 83 } 84 85 .login .pw-weak { 86 margin-bottom: 15px; 87 } 88 89 .login .button.button-secondary { 90 display: table-cell; 91 border-radius: 0; 92 vertical-align: middle; 74 93 } 75 94 -
trunk/src/wp-admin/js/user-profile.js
r40657 r41556 162 162 $('.user-pass2-wrap').hide(); 163 163 164 $submitButton = $( '#submit ' ).on( 'click', function () {164 $submitButton = $( '#submit, #wp-submit' ).on( 'click', function () { 165 165 updateLock = false; 166 166 }); … … 315 315 if ( passStrength.className ) { 316 316 $pass1.add( $pass1Text ).addClass( passStrength.className ); 317 if ( 'short' === passStrength.className || 'bad' === passStrength.className) {317 if ( $( passStrength ).is( '.short, .bad' ) ) { 318 318 if ( ! $weakCheckbox.prop( 'checked' ) ) { 319 319 $submitButtons.prop( 'disabled', true ); -
trunk/src/wp-login.php
r41291 r41556 645 645 646 646 <div class="wp-pwd"> 647 <span class="password-input-wrapper"> 648 <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" /> 649 </span> 647 <div class="password-input-wrapper"> 648 <input type="password" data-reveal="1" data-pw="<?php echo esc_attr( wp_generate_password( 16 ) ); ?>" name="pass1" id="pass1" class="input password-input" size="24" value="" autocomplete="off" aria-describedby="pass-strength-result" /> 649 <span class="button button-secondary wp-hide-pw hide-if-no-js"> 650 <span class="dashicons dashicons-hidden"></span> 651 </span> 652 </div> 650 653 <div id="pass-strength-result" class="hide-if-no-js" aria-live="polite"><?php _e( 'Strength indicator' ); ?></div> 654 </div> 655 <div class="pw-weak"> 656 <label> 657 <input type="checkbox" name="pw_weak" class="pw-checkbox" /> 658 <?php _e( 'Confirm use of weak password' ); ?> 659 </label> 651 660 </div> 652 661 </div>
Note: See TracChangeset
for help on using the changeset viewer.