[wp-trac] [WordPress Trac] #27239: Registration email not sent (multisite subdirectory)

WordPress Trac noreply at wordpress.org
Thu Mar 6 15:03:27 UTC 2014


#27239: Registration email not sent (multisite subdirectory)
--------------------------+------------------------------
 Reporter:  pavelevap     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:  3.8.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  multisite
--------------------------+------------------------------
Changes (by jeremyfelt):

 * keywords:  reporter-feedback =>


Comment:

 Ok, that makes sense. It looks like this has been in place since the MU
 merge. The same notification is triggered when registering a new blog as
 well.

 {{{
 $admin_email = get_site_option( 'admin_email' );
 if ( $admin_email == '' )
         $admin_email = 'support@' . $_SERVER['SERVER_NAME'];
 }}}

 This is probably how notifications should happen in multisite. At the
 network level, the administrator is acting as a global administrator. At
 the same time, each individual site is then able to have their own mail
 identity. Ideally, the server is configured to handle both scenarios (mail
 delivery being a finicky thing).

 It may be worth putting some kind of filter in to make it easier to
 override. It may also be worth rethinking how various bits of registration
 and notification happen.  The filters in `wp_mail()` can probably help in
 the near term.

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


More information about the wp-trac mailing list