Skip to content

Commit 5dff70b

Browse files
Users: Reuse an existing string in the confirmation for unsaved changes in user profile.
Follow-up to [58137]. Fixes #40493. git-svn-id: https://develop.svn.wordpress.org/trunk@58145 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 6ee6fcb commit 5dff70b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/js/_enqueues/admin/user-profile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@
491491
return __( 'Your new password has not been saved.' );
492492
}
493493
if ( originalFormContent !== $form.serialize() && ! isSubmitting ) {
494-
return __( 'Changes that you made may not be saved.' );
494+
return __( 'The changes you made will be lost if you navigate away from this page.' );
495495
}
496496
});
497497

0 commit comments

Comments
 (0)