Make WordPress Core

Changeset 35733


Ignore:
Timestamp:
11/24/2015 09:16:02 PM (8 years ago)
Author:
ocean90
Message:

Passwords: Re-enable password fields before submitting the form.

Avoids an PHP undefined notice when creating new users.

Fixes #33699.

File:
1 edited

Legend:

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

    r35649 r35733  
    267267            updateLock = false;
    268268
     269            $pass1.prop( 'disabled', false );
     270            $pass2.prop( 'disabled', false );
    269271            $pass2.val( $pass1.val() );
    270272            $pass1Wrap.removeClass( 'show-password' );
Note: See TracChangeset for help on using the changeset viewer.