Make WordPress Core

Ticket #34950: 34950-Revised.patch

File 34950-Revised.patch, 578 bytes (added by subharanjan, 9 years ago)
  • wp-admin/js/user-profile.js

     
    251251                        $generateButton.show();
    252252                        $passwordWrapper.hide();
    253253
     254                        $weakRow.hide( 'normal', function () {
     255                                if ( $weakCheckbox.prop( 'checked' ) ) {
     256                                        $weakCheckbox.removeProp( 'checked' );
     257                                }
     258                        });
     259
    254260                        // Disable the inputs when hiding to prevent autofill and submission.
    255261                        $pass1.prop( 'disabled', true );
    256262                        $pass2.prop( 'disabled', true );