[wp-trac] [WordPress Trac] #38068: Add filters to wp_new_user_notification and wp_password_change_notification

WordPress Trac noreply at wordpress.org
Wed Jul 26 02:27:07 UTC 2017


#38068: Add filters to wp_new_user_notification and
wp_password_change_notification
-------------------------------------+--------------------------
 Reporter:  pbearne                  |       Owner:  johnbillion
     Type:  enhancement              |      Status:  reopened
 Priority:  normal                   |   Milestone:  4.9
Component:  Users                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-codex needs-patch  |     Focuses:
-------------------------------------+--------------------------
Changes (by johnbillion):

 * keywords:  has-patch needs-codex => needs-codex needs-patch
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 It looks like all of the most recently introduced email notifications use
 one filter on an array of fields for the email (eg. `email_change_email`
 and `password_change_email`) instead of separate filters for the subject,
 content, and headers. This pattern should be followed here.

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


More information about the wp-trac mailing list