[wp-trac] [WordPress Trac] #28407: You are unable to override the attachment name in wp_mail() when adding attachments

WordPress Trac noreply at wordpress.org
Fri Jun 10 07:35:12 UTC 2016


#28407: You are unable to override the attachment name in wp_mail() when adding
attachments
-------------------------------------------------+-------------------------
 Reporter:  syntaxart                            |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Mail                                 |  Review
 Severity:  normal                               |     Version:  3.9.1
 Keywords:  has-patch needs-unit-tests needs-    |  Resolution:
  codex                                          |     Focuses:
-------------------------------------------------+-------------------------

Comment (by ragulka):

 The patch by @rittesh.patel looks solid - the best part is that it does
 not change the `$attachments` structure, so it's 100% backwards
 compatible. Would love to see it in the next release :)

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


More information about the wp-trac mailing list