mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
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:
parent
64fdd0c6a0
commit
7f3082491d
@ -266,6 +266,8 @@
|
|||||||
$pass1Row.closest('form').on( 'submit', function () {
|
$pass1Row.closest('form').on( 'submit', function () {
|
||||||
updateLock = false;
|
updateLock = false;
|
||||||
|
|
||||||
|
$pass1.prop( 'disabled', false );
|
||||||
|
$pass2.prop( 'disabled', false );
|
||||||
$pass2.val( $pass1.val() );
|
$pass2.val( $pass1.val() );
|
||||||
$pass1Wrap.removeClass( 'show-password' );
|
$pass1Wrap.removeClass( 'show-password' );
|
||||||
});
|
});
|
||||||
|
2
wp-admin/js/user-profile.min.js
vendored
2
wp-admin/js/user-profile.min.js
vendored
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user