[wp-trac] [WordPress Trac] #39123: Allow usernames to be changed by administrators

WordPress Trac noreply at wordpress.org
Thu Aug 3 16:03:19 UTC 2017


#39123: Allow usernames to be changed by administrators
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Users                                |  Review
 Severity:  normal                               |     Version:
 Keywords:  needs-patch needs-unit-tests 2nd-    |  Resolution:
  opinion                                        |     Focuses:  multisite
-------------------------------------------------+-------------------------

Comment (by raisonon):

 Would it be possible to let wp_update_user() amend username but keep
 username change limited to Admin in the WP backend?

 It's a web standard that login == email, so in that setup we also need to
 consider how we manage email changes.

 I thought most elegant solution is just let email = login and then let the
 user amend login via a front-facing profile settings page, ideally using
 wp_update_user()

 Do you see a problem with that? Thanks



 Replying to [comment:14 johnbillion]:
 > Personally I think allowing users to change their own username is asking
 for trouble. If an admin changes a user's username, then it's their own
 site and they can deal with any problems it causes. A user on a site is
 not in that situation.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39123#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list