[Resolved] Username Change (Feature Request)
I have not seen a definitive explanation for why WP does not all username changes. It is extremely simple to change it in the database, with no harm done that I can see. Why then is it not allowed in the Dashboard? Possibly just even an admin function?
@andrew – your question confused me a bit. I was thinking mostly from an admin perspective.
@esmi – I have run into a few scenarios where this would be useful.
1. A wordpress setup with the ‘admin’ user, with quite a few posts. I want to change the username for security reasons, as many suggest to do, but without having to create a new user, delete the original user, and assign his posts to the new user. Kind of a hassle.
2. A wordpress setup for a client where I misspelled one of the usernames, then that person created a bunch of posts before complaining that their username was misspelled.
I’m sure I’ve run into more situations, but cannot recall those now. I’ll post later if I can think of them.
Tbh, I don’t see a good reason NOT to allow this. However, I’m open to suggestions. Why do you guys think it’s not a good feature to have by default?
Kind of a hassle.
Why do you guys think it’s not a good feature to have by default?
It’s a safe hassle and in my opinion those step reinforce that you’ve a new user ID. Also being able to change it on a whim would lead to more people being locked out more often. That’s just my opinion as a support person.
If you really feel strongly about it I am sure a plugin can be used or made if one’s not already out there.
Again, consider this only being allowed by the Administrator role.
Why do you need to reinforce that you have a new user ID?
I’m sure I could whip up a plugin to do the job, but I just was wondering why it is explicitly not allowed when it seems (sorry if I envisage it to simplistically) so simple to me.
2. Set up a new user with the correct username and a throwaway email address. Delete the old user. during the deletion process, you should be asked if you want to delete the old user’s posts or transfer them to another user. Select the new user. Finally, change the new user’s email address to the one previously used.
Set up a new user with the correct username and a throwaway email address. Delete the old user. during the deletion process, you should be asked if you want to delete the old user’s posts or transfer them to another user. Select the new user. Finally, change the new user’s email address to the one previously used.
I want to change the username for security reasons, as many suggest to do, but without having to create a new user, delete the original user, and assign his posts to the new user. Kind of a hassle.
I know I can do that already, and I know that plugins are out there. My initial question is why is the option expressly forbidden by default?
My initial question is why is the option expressly forbidden by default?
To prevent breaking data serialization in other sections of WP. Notably if you did that with Multisite, you’d remove yourself as a Super Admin.
Okay – that answers my question. So for single and Multisite, the serialization is the problem?
It is a needed feature.
I set up a domain, a website and through the host’s interface I was able to install WordPress 3.5.1. , but because I did not notice the username data entry line on the poorly designed install dialog box provided by the host I ended up with my long company email address as my username. Now I’m stuck with it.
Now, I understand someone saying “Why do you need to change it, if it were mutable there would be so many people changing it and forgetting it, etc. etc.” but from a logic and problem solving standpoint it make absolute sense to have a feature that allows admins to change the username. First, a critical option needs to be mutable to allow for a critical error. Standard logic. Second, an experienced problem solver should be able to devise the option to change the username only under specific and well thought out rules, using a clever guided user interface, something with sufficient warning with context, would weed out light thinking on what it means to change the username. This would likely be a solution for someone who is just out of the the gate rather than someone with a older, well established site. A site with less tentacles that would cause problems.
It actually shouldn’t cause much of a problem. Anything user related should be referencing the user ID, not the username. All you would need is a plugin that enables this in the user menu. It would have to check and error out of the WordPress username already exists with that id and if it is a valid username, then maybe update the nicename.
Not too hard at all, but perhaps some old wordpress installs or plugins user the username.
I have a WordPress User meta class I may be able to format something like this into.
I have an ID=”1″ issue like this. Please help.
A month ago, I (stupidly) deleted the ‘admin’ user from my Dashboard/Users. (long story)
1.’wp_users’: Can I take an existing user (say, #465) and make them the admin with an ID of “1”?
- The topic ‘[Resolved] Username Change (Feature Request)’ is closed to new replies.