[wp-trac] [WordPress Trac] #42134: Add filter to emails sent by wp-admin/network/site-new.php

WordPress Trac noreply at wordpress.org
Sat Oct 7 14:30:17 UTC 2017


#42134: Add filter to emails sent by wp-admin/network/site-new.php
--------------------------------+----------------------------------------
 Reporter:  johnbillion         |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Networks and Sites  |    Version:
 Severity:  normal              |   Keywords:  needs-patch good-first-bug
  Focuses:  multisite           |
--------------------------------+----------------------------------------
 `wp-admin/network/site-new.php` contains a call to `wp_mail()` which sends
 an email when a new site is created from Network Admin -> Sites -> Add New
 on Multisite. ([https://core.trac.wordpress.org/browser/tags/4.8.2/src/wp-
 admin/network/site-new.php?marks=137-159#L136 Ref]).

 The contents of the email cannot be filtered. The recipient, subject,
 message, and headers should be passed through a filter in the same format
 as the `password_change_email ` filter.
 ([https://core.trac.wordpress.org/browser/tags/4.8.2/src/wp-
 includes/user.php?marks=1842-1864#L1818 Ref]).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42134>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list