[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
Thu Jan 5 11:17:33 UTC 2023


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

Comment (by SergeyBiryukov):

 In [changeset:"55032" 55032]:
 {{{
 #!CommitTicketReference repository="" revision="55032"
 Coding Standards: Fix WPCS issues in `phpunit/tests/pluggable/wpMail.php`.

 This addresses a few errors along the lines of:

 * Opening parenthesis of a multi-line function call must be the last
 content on the line
 * Only one argument is allowed per line in a multi-line function call
 * Each array item in a multi-line array declaration must end in a comma
 * Closing parenthesis of a multi-line function call must be on a line by
 itself

 Follow-up to [55030].

 See #28407.
 }}}

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


More information about the wp-trac mailing list