[wp-trac] [WordPress Trac] #34065: Upgrading from single site to multisite fails when the Network Admin Email doesn't match an existing user.

WordPress Trac noreply at wordpress.org
Wed Oct 14 16:48:46 UTC 2015


#34065: Upgrading from single site to multisite fails when the Network Admin Email
doesn't match an existing user.
--------------------------------+----------------------------------------
 Reporter:  jjeaton             |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  4.4
Component:  Networks and Sites  |     Version:  trunk
 Severity:  normal              |  Resolution:
 Keywords:  needs-patch         |     Focuses:  administration, multisite
--------------------------------+----------------------------------------
Changes (by jeremyfelt):

 * keywords:  has-patch => needs-patch


Comment:

 Replying to [comment:3 jjeaton]:
 > While maybe there would be a case where one admin was upgrading the site
 to multisite and wanted another admin account to be the admin_email user,
 I'm not sure how common that would be.

 It turns out this is much more common than I thought. This email is often
 a catch-all box for notifications and acts as a way to separate the
 admin's email from that attached to emails that users get when
 registering.

 We came up with this during office hours yesterday as a good start:

 * Check for valid `$site_user` based on the entered email.
 * If not valid, assign the provided email to `admin_email`, but ensure the
 current user is set for everything else.
 * Update messaging on the initial screen to match. Related: #34293.

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


More information about the wp-trac mailing list