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:
Sergey Biryukov 2024-05-14 16:14:11 +00:00
parent c2628e70d8
commit f57368d7ed
3 changed files with 3 additions and 3 deletions

View File

@ -491,7 +491,7 @@
return __( 'Your new password has not been saved.' );
}
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.' );
}
});

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
*
* @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.