[wp-trac] [WordPress Trac] #31127: Can't add a new user to two sites before they've accepted their account

WordPress Trac noreply at wordpress.org
Tue Jan 27 02:56:16 UTC 2015


#31127: Can't add a new user to two sites before they've accepted their account
--------------------------+------------------------------
 Reporter:  ericlewis     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  multisite
--------------------------+------------------------------

Comment (by ericlewis):

 Signups are stored as rows in the signups table. When a person is invited
 to a blog, the blog id is stored in a serialized array under the
 `add_to_blog` key in the `meta` column. I wonder if we could support
 saving `add_to_blog` as an array, and add the user to all these sites when
 activated^^^[https://github.com/WordPress/WordPress/blob/4.1/wp-includes
 /ms-functions.php#L1979 1]^^^ maintaining backwards compatibility.

 On a related note, it's odd that a site administrator is choosing a
 username for another person. An email is an existing, (relatively) unique
 identifier for this person. Preferably that person can choose their
 username. Removing that might help here. Two separate site admins might
 invite a person using the same email address, but might pick different
 usernames for them.

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


More information about the wp-trac mailing list