Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate the UI for user first and last name, and nickname #188

Closed
markkap opened this Issue Nov 30, 2018 · 3 comments

Comments

Projects
None yet
1 participant
@markkap
Copy link

markkap commented Nov 30, 2018

There is just no incentive for a user to fill any of those fields, and they are used for things for which better alternatives exists.

first and last name are used to help construct the display name options. no idea why should the display name be restricted in such a way.

Nickname is used only in is_author API, and we do want to get rid of the author === user in any case #87.

Only the UI will be deprecated here as those fields (especially first and last name) might be used by sites, and removing them from the user object might cause breakage. OTOH it should be trivial enough to add those thing with a plugin or theme if a site needs the UI for this in the user admin.

@markkap markkap added this to the 1.0.0 milestone Nov 30, 2018

@markkap markkap changed the title Deprecate user first and last name, and nickname Deprecate the UI for user first and last name, and nickname Nov 30, 2018

@markkap

This comment has been minimized.

Copy link
Author

markkap commented Dec 1, 2018

On user creation, if no explicit values are provided for them, nickname will be set to the user name, and first name and last name will be parsed from the email address. If email is first.last@example.com it is obvious how to do it (well, people may do last.first, but we need to make some assumption about it ;) ), otherwise will just store the whole mailbox name as first name.

@markkap

This comment has been minimized.

Copy link
Author

markkap commented Dec 1, 2018

On second thought, if having an empty string for first and last as default works for WordPress, it can work as well for us.

@markkap

This comment has been minimized.

Copy link
Author

markkap commented Dec 1, 2018

going to remove nickname also from external APIs. first and last might make sense to keep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.