mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-27 10:08:27 +00:00
Do not propagate empty passwords from the hidden form field.
fixes #32886 Built from https://develop.svn.wordpress.org/trunk@33384 git-svn-id: http://core.svn.wordpress.org/trunk@33353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8d72575b00
commit
9682eb0108
@ -109,8 +109,10 @@
|
||||
* pass2 field to the pass1 field.
|
||||
*/
|
||||
pw_field2.on( 'input propertychange', function() {
|
||||
pw_field.val( pw_field2.val() );
|
||||
pw_field.trigger( 'propertychange' );
|
||||
if ( pw_field2.val().length > 0 ) {
|
||||
pw_field.val( pw_field2.val() );
|
||||
pw_field.trigger( 'propertychange' );
|
||||
}
|
||||
} );
|
||||
|
||||
pw_new.on( 'click', 'button.wp-generate-pw', function(){
|
||||
|
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
|
||||
*/
|
||||
$wp_version = '4.3-beta4-33373';
|
||||
$wp_version = '4.3-beta4-33384';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
x
Reference in New Issue
Block a user