[wp-trac] [WordPress Trac] #35781: Incorrect use of PHP method compact

WordPress Trac noreply at wordpress.org
Sat Feb 27 22:14:00 UTC 2016


#35781: Incorrect use of PHP method compact
-----------------------------------+-----------------------------
 Reporter:  maweder                |       Owner:  SergeyBiryukov
     Type:  defect (bug)           |      Status:  reopened
 Priority:  normal                 |   Milestone:  4.4.3
Component:  Mail                   |     Version:  4.4
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch fixed-major  |     Focuses:
-----------------------------------+-----------------------------

Comment (by shahpranaf):

 @maweder Firstly, Welcome to the WP trac.

 Yes you are correct. 'headers' and 'attachments' are arrays and not the
 strings.
 I've done changes at both places i.e inside wp_mail() function also.

 Thanks

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


More information about the wp-trac mailing list