Ticket #34950: 34950-Revised.patch
File 34950-Revised.patch, 578 bytes (added by , 9 years ago) |
---|
-
wp-admin/js/user-profile.js
251 251 $generateButton.show(); 252 252 $passwordWrapper.hide(); 253 253 254 $weakRow.hide( 'normal', function () { 255 if ( $weakCheckbox.prop( 'checked' ) ) { 256 $weakCheckbox.removeProp( 'checked' ); 257 } 258 }); 259 254 260 // Disable the inputs when hiding to prevent autofill and submission. 255 261 $pass1.prop( 'disabled', true ); 256 262 $pass2.prop( 'disabled', true );