[wp-trac] [WordPress Trac] #14644: Administrator should be able to change usernames
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 14 16:55:14 UTC 2010
#14644: Administrator should be able to change usernames
--------------------------+-------------------------------------------------
Reporter: holizz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version:
Severity: normal | Keywords: close
--------------------------+-------------------------------------------------
Comment(by johanee):
I think this functionality would be useful. But not so useful I'll
implement it myself right now.
Depending on what you want to accomplish it is also a bit trickier than
simply changing a value in DB -- if you want to do it right.
How to handle the interaction username, nicename, displayname should
really be considered if any change were to be made in core WordPress.
One problem you could get, if you do this using the db while using
memcached, is the the old value remains in the store until memory runs
out.
Surely memcached allows invalidation. And we already have
clean_user_cache($id).
... it also breaks URLs and such, which is why I don't think
administrators should be able to do it either.
Administrators have plenty ways already to break URLs. :)
Furthermore URLs use user "nicename" values which are separate from (but
constructed based on) username. From a security viewpoint it would
actually be interesting to be able to set these separately.
Changing a username will of course make the users current auth cookie
invalid.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14644#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list