[wp-trac] [WordPress Trac] #42133: Add filter to emails sent by wp_new_blog_notification()
WordPress Trac
noreply at wordpress.org
Sat Oct 7 14:27:39 UTC 2017
#42133: Add filter to emails sent by wp_new_blog_notification()
-----------------------------+----------------------------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Upgrade/Install | Version: 2.1
Severity: normal | Keywords: needs-patch good-first-bug
Focuses: multisite |
-----------------------------+----------------------------------------
`wp_new_blog_notification()` contains a call to `wp_mail()` which sends an
email when WordPress is first installed, and when a site is added to a
Multisite network.
([https://core.trac.wordpress.org/browser/tags/4.8.2/src/wp-
admin/includes/upgrade.php?marks=376-399#L361 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/42133>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list