[wp-trac] [WordPress Trac] #64348: The `$embeds` element is missing from the `wp_mail_succeeded` filter

WordPress Trac noreply at wordpress.org
Thu Dec 4 10:48:15 UTC 2025


#64348: The `$embeds` element is missing from the `wp_mail_succeeded` filter
--------------------------------------+------------------------------
 Reporter:  johnbillion               |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  low                       |   Milestone:  Awaiting Review
Component:  Mail                      |     Version:  6.9
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+------------------------------
Changes (by iflairwebtechnologies):

 * keywords:  needs-patch good-first-bug => good-first-bug has-patch


Comment:

 **Title:**
 Fix missing $embeds element in $mail_data for wp_mail_succeeded filter

 **Description:**
 This patch resolves a bug where the **$embeds** element is missing from
 the **$mail_data** array when the **wp_mail_succeeded** filter is applied.
 Although WordPress documentation for version 6.9 had been updated to
 reflect the inclusion of the **$embeds** element in the **$mail_data**
 argument, the actual code was not updated, causing the **$embeds** element
 to be absent.

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


More information about the wp-trac mailing list