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

Avoids an PHP undefined notice when creating new users.

Fixes #33699.
Built from https://develop.svn.wordpress.org/trunk@35733


git-svn-id: http://core.svn.wordpress.org/trunk@35697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2015-11-24 21:17:27 +00:00
parent 64fdd0c6a0
commit 7f3082491d
3 changed files with 4 additions and 2 deletions

View File

@ -266,6 +266,8 @@
$pass1Row.closest('form').on( 'submit', function () {
updateLock = false;
$pass1.prop( 'disabled', false );
$pass2.prop( 'disabled', false );
$pass2.val( $pass1.val() );
$pass1Wrap.removeClass( 'show-password' );
});

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-beta4-35732';
$wp_version = '4.4-beta4-35733';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.