This is something a client of mine discovered, it’s not a huge problem but if there’s a fix that’d be nice.
I’ve attached a bunch of custom fields to user profiles. When creating a new user and the creation fails on validation because for example the email address is already in use, the default fields like First Name are kept in place but the custom fields are now empty.
I assume it’s an edge case because fields attached to any (other) kind of post won’t ever fail when saving unless we added custom validation code ourselves.
Thanks for the post.
I have just tested this out on the latest version 5.3.7 but I could not replicate this. It is safe to assume that this bug is now fixed, I am now going ahead and close this topic.