Ticket #33167: 33167.2.diff
File 33167.2.diff, 2.4 KB (added by , 9 years ago) |
---|
-
home/umesh/Wordpress-core/trunk/wp-login.php
670 670 <input type="password" name="pass2" id="pass2" class="input" size="20" value="" autocomplete="off" /> 671 671 </p> 672 672 673 <div class="pw-weak"> 674 <label> 675 <input type="checkbox" name="pw_weak" class="pw-checkbox" /> 676 <?php _e( 'Confirm use of weak password' ); ?> 677 </label> 678 </div> 679 673 680 <p class="description indicator-hint"><?php echo wp_get_password_hint(); ?></p> 674 681 <br class="clear" /> 675 682 -
home/umesh/Wordpress-core/trunk/wp-admin/css/login.css
206 206 font-family: sans-serif; 207 207 } 208 208 209 .login-action-rp input[type="text"] { 209 .login-action-rp input[type="text"], 210 .login-action-rp input[type="password"] { 210 211 -webkit-box-shadow: none; 211 212 box-shadow: none; 212 213 margin: 0; 213 214 } 214 215 216 .login-action-rp .wp-pwd{ 217 margin-top: 5px; 218 } 219 220 .login-action-rp .pw-weak{ 221 margin-bottom: 10px; 222 } 223 215 224 .login #pass-strength-result { 216 225 font-weight: 600; 217 226 margin: -1px 5px 16px 0; -
home/umesh/Wordpress-core/trunk/wp-admin/js/user-profile.js
85 85 86 86 if ( passStrength.className ) { 87 87 $pass1.add( $pass1Text ).addClass( passStrength.className ); 88 if ( 'short' === passStrength.className || 'bad' === passStrength.className) {88 if ( $(passStrength).is('.short, .bad') ) { 89 89 if ( ! $weakCheckbox.prop( 'checked' ) ) { 90 90 $submitButtons.prop( 'disabled', true ); 91 91 } … … 158 158 $cancelButton; 159 159 160 160 $pass1Row = $('.user-pass1-wrap'); 161 $pass1Label = $pass1Row.find(' thlabel').attr( 'for', 'pass1-text' );161 $pass1Label = $pass1Row.find('label').attr( 'for', 'pass1-text' ); 162 162 163 163 // hide this 164 164 $('.user-pass2-wrap').hide(); 165 165 166 $submitButton = $( '#submit ' ).on( 'click', function () {166 $submitButton = $( '#submit, #wp-submit' ).on( 'click', function () { 167 167 updateLock = false; 168 168 }); 169 169