[wp-trac] [WordPress Trac] #47004: WordPress email subject update - phase 2

WordPress Trac noreply at wordpress.org
Sun Apr 21 00:39:31 UTC 2019

#47004: WordPress email subject update - phase 2
 Reporter:  ramiy           |      Owner:  pento
     Type:  defect (bug)    |     Status:  assigned
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Mail            |    Version:
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
 WordPress send emails, using `wp_mail()` function, to inform the site
 admin when some important tasks are done and when it needs user

 In #37940 we standardized **email subjects** used by WordPress. We updated
 subject texts, added unified translation comments and added site title as
 a prefix to all the email subjects.

 Now we should standardized the filters used to filter WordPress emails.
 Why? Because not all emails can be filtered.

 I prefer to do this in two steps:

 1. Separate the email subject from the `wp_mail()` function.
 2. Add new filters to filter the email subject.

 See the attached patches.

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

More information about the wp-trac mailing list