Make WordPress Core

Changeset 35870


Ignore:
Timestamp:
12/11/2015 09:53:29 PM (9 years ago)
Author:
swissspidy
Message:

Passwords: Hide weak password confirmation checkbox when password strength improves.

Props subharanjan for initial patch.
Fixes #34950.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/user-profile.js

    r35733 r35870  
    251251            $generateButton.show();
    252252            $passwordWrapper.hide();
     253
     254            $weakRow.hide( 0, function () {
     255                $weakCheckbox.removeProp( 'checked' );
     256            } );
    253257
    254258            // Disable the inputs when hiding to prevent autofill and submission.
Note: See TracChangeset for help on using the changeset viewer.