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

WordPress Trac noreply at wordpress.org
Sat Oct 7 14:24:08 UTC 2017


#42132: Add filter to emails sent by wp-admin/user-new.php
-------------------------+----------------------------------------
 Reporter:  johnbillion  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Future Release
Component:  Users        |    Version:
 Severity:  normal       |   Keywords:  needs-patch good-first-bug
  Focuses:  multisite    |
-------------------------+----------------------------------------
 `wp-admin/user-new.php` contains a call to `wp_mail()` which sends an
 email when an existing user is invited to a site from the `Users -> Add
 New -> Add Existing User` screen within a site on Multisite.
 ([https://core.trac.wordpress.org/browser/tags/4.8.2/src/wp-admin/user-
 new.php?marks=92-100#L91 Ref]).

 The contents of the email cannot be filtered. The 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/42132>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list