Commit 1d029e933d for wordpress.org
commit 1d029e933ded4c33644e9f7f58a0bb809e447d94
Author: Weston Ruter <weston@xwp.co>
Date: Fri Dec 5 01:40:30 2025 +0000
Mail: Add missing `embeds` key for the `wp_mail_succeeded` action's `$mail_data` param.
Follow-up to [60698].
Props iflairwebtechnologies, SirLouen, johnbillion.
See #28059.
Fixes #64348.
Built from https://develop.svn.wordpress.org/trunk@61352
git-svn-id: http://core.svn.wordpress.org/trunk@60664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php
index 8f167ca2b1..1d5ee194c9 100644
--- a/wp-includes/pluggable.php
+++ b/wp-includes/pluggable.php
@@ -618,7 +618,7 @@ if ( ! function_exists( 'wp_mail' ) ) :
*/
do_action_ref_array( 'phpmailer_init', array( &$phpmailer ) );
- $mail_data = compact( 'to', 'subject', 'message', 'headers', 'attachments' );
+ $mail_data = compact( 'to', 'subject', 'message', 'headers', 'attachments', 'embeds' );
// Send!
try {
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 4b5a9a484c..1541b3f4c2 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.0-alpha-61351';
+$wp_version = '7.0-alpha-61352';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.