Make WordPress Core

Ticket #52086: 52086.diff

File 52086.diff, 513 bytes (added by thomasplevy, 3 years ago)
  • src/js/_enqueues/admin/user-profile.js

    diff --git a/src/js/_enqueues/admin/user-profile.js b/src/js/_enqueues/admin/user-profile.js
    index 3b5e26f977..a27311f17c 100644
    a b  
    3232                        showOrHideWeakPasswordCheckbox();
    3333                }
    3434
     35                if ( ! $toggleButton ) {
     36                        bindToggleButton();
     37                }
     38
    3539                // Install screen.
    3640                if ( 1 !== parseInt( $toggleButton.data( 'start-masked' ), 10 ) ) {
    3741                        // Show the password not masked if admin_password hasn't been posted yet.