[wp-trac] [WordPress Trac] #51276: Allow attachments to be added to a recovery mode email

WordPress Trac noreply at wordpress.org
Wed Sep 9 16:19:48 UTC 2020


#51276: Allow attachments to be added to a recovery mode email
------------------------------+-----------------------------
 Reporter:  desrosj           |       Owner:  desrosj
     Type:  defect (bug)      |      Status:  closed
 Priority:  low               |   Milestone:  5.6
Component:  Site Health       |     Version:  5.2
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  administration
------------------------------+-----------------------------
Changes (by desrosj):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48964" 48964]:
 {{{
 #!CommitTicketReference repository="" revision="48964"
 Site Health: Allow attachments to be added to recovery mode emails.

 The `wp_mail()` function has the ability to add attachments to emails.
 There is currently no way to add attachments to the recovery mode email
 sent out to site admins when a PHP error is encountered on their site.

 This change adds that ability through the use of the `recovery_mode_email`
 filter, allowing developers to use the full capabilities of `wp_mail()`.

 Props desrosj, timothyblynjacobs.
 Fixes #51276.
 }}}

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


More information about the wp-trac mailing list