[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
Thu Oct 15 19:14:31 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:  has-patch           |     Focuses:  administration, multisite
--------------------------------+----------------------------------------
Changes (by jjeaton):

 * keywords:  needs-patch => has-patch


Comment:

 Refreshed patch
 [https://core.trac.wordpress.org/attachment/ticket/34065/34065.2.diff
 34065.2.diff] addresses all three items.

 * The is_email() check now happens before attempting to get a user based
 on the email.
 * The provided email is always used for `admin_email`, and if it doesn't
 match an existing user, `$site_user` is set to the current user.
 * The field description on `network.php` has been updated to read: "This
 address is used for admin purposes, like site notifications. Registration
 emails will be sent from this address."

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


More information about the wp-trac mailing list