mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Users: Reuse an existing string in the confirmation for unsaved changes in user profile.
Follow-up to [58137]. Fixes #40493. Built from https://develop.svn.wordpress.org/trunk@58145 git-svn-id: http://core.svn.wordpress.org/trunk@57610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c2628e70d8
commit
f57368d7ed
@ -491,7 +491,7 @@
|
|||||||
return __( 'Your new password has not been saved.' );
|
return __( 'Your new password has not been saved.' );
|
||||||
}
|
}
|
||||||
if ( originalFormContent !== $form.serialize() && ! isSubmitting ) {
|
if ( originalFormContent !== $form.serialize() && ! isSubmitting ) {
|
||||||
return __( 'Changes that you made may not be saved.' );
|
return __( 'The changes you made will be lost if you navigate away from this page.' );
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
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
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.6-alpha-58144';
|
$wp_version = '6.6-alpha-58145';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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…
Reference in New Issue
Block a user