[wp-trac] [WordPress Trac] #15448: wp_mail() sets Content-Type header twice for multipart emails
WordPress Trac
noreply at wordpress.org
Tue Nov 11 02:34:48 UTC 2025
#15448: wp_mail() sets Content-Type header twice for multipart emails
-------------------------------------------------+-------------------------
Reporter: rmccue | Owner: SirLouen
Type: defect (bug) | Status: closed
Priority: high | Milestone: 6.9
Component: Mail | Version: 2.8
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests has-test- | Focuses:
info commit |
-------------------------------------------------+-------------------------
Changes (by westonruter):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"61201" 61201]:
{{{
#!CommitTicketReference repository="" revision="61201"
Mail: Improve multipart message handling in `wp_mail()`.
This improves how `wp_mail()` handles `Content-Type` headers for multipart
messages, preventing cases where the header could be duplicated.
Developed in https://github.com/WordPress/wordpress-develop/pull/9500
Props SirLouen, gitlost, rmccue, westi, MattyRob, bgermann, nacin,
SergeyBiryukov, dd32, MikeHansenMe, Kleor, kitchin, JeffMatson, abcd95,
westonruter, christinecooper, JohnVieth, dawidadach, imokweb, ayeshrajans,
lakshyajeet, tusharbharti, sajjad67.
Fixes #15448.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15448#comment:100>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list