[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 12 14:00:56 UTC 2016


#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:  4.5
Component:  Users                       |     Version:  3.0
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  multisite
----------------------------------------+------------------------
Changes (by ericlewis):

 * keywords:  needs-patch => has-patch needs-unit-tests
 * milestone:  Future Release => 4.5


Comment:

 attachment:31127.diff is a work in progress, feedback welcome :)

 It's backwards compatible with the current format of the signups `meta`
 column. Instead of making this field an array, it adds an array element
 named `other_blogs` where, if a user is signed up for more than one site,
 the other site signup info is stored.

 Some modifications to `wpmu_validate_user_signup()` were added, to ignore
 user_name and user_email collisions if the signup is for a site different
 than `current_blog`.

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


More information about the wp-trac mailing list