Support

Account

Home Forums Backend Issues (wp-admin) User profile's custom fields form input data lost when adding user fails

Helping

User profile's custom fields form input data lost when adding user fails

  • 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.

  • Hi @brugman,

    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.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘User profile's custom fields form input data lost when adding user fails’ is closed to new replies.