Ticket #34950: 34950.2.patch
File 34950.2.patch, 496 bytes (added by , 9 years ago) |
---|
-
src/wp-admin/js/user-profile.js
diff --git src/wp-admin/js/user-profile.js src/wp-admin/js/user-profile.js index 5250844..5ec77bc 100644
251 251 $generateButton.show(); 252 252 $passwordWrapper.hide(); 253 253 254 $weakRow.hide( 0, function () { 255 $weakCheckbox.removeProp( 'checked' ); 256 } ); 257 254 258 // Disable the inputs when hiding to prevent autofill and submission. 255 259 $pass1.prop( 'disabled', true ); 256 260 $pass2.prop( 'disabled', true );