[wp-trac] [WordPress Trac] #28059: Inline image attachments with wp_mail()
WordPress Trac
noreply at wordpress.org
Fri Sep 5 02:45:01 UTC 2025
#28059: Inline image attachments with wp_mail()
-------------------------------------------------+-------------------------
Reporter: jesin | Owner: SirLouen
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.9
Component: Mail | Version:
Severity: normal | Resolution:
Keywords: has-patch has-test-info has-unit- | Focuses:
tests add-to-field-guide |
-------------------------------------------------+-------------------------
Comment (by jorbin):
@SirLouen Thanks, I missed the `canola`. This could be made a bit easier
to read and be more fully tested if it used a dataprovider and
associative, indexed, and mixed arrays.
Further, removing the acceptance of a string would make this simpler.
While $attachments accepts both, the considerations in 2008 when it was
added were not around type safety.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28059#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list