Skip to content

Commit 6c11f82

Browse files
committed
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: https://core.svn.wordpress.org/trunk@60664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent db775d4 commit 6c11f82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

wp-includes/pluggable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ function wp_mail( $to, $subject, $message, $headers = '', $attachments = array()
618618
*/
619619
do_action_ref_array( 'phpmailer_init', array( &$phpmailer ) );
620620

621-
$mail_data = compact( 'to', 'subject', 'message', 'headers', 'attachments' );
621+
$mail_data = compact( 'to', 'subject', 'message', 'headers', 'attachments', 'embeds' );
622622

623623
// Send!
624624
try {

wp-includes/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @global string $wp_version
1818
*/
19-
$wp_version = '7.0-alpha-61351';
19+
$wp_version = '7.0-alpha-61352';
2020

2121
/**
2222
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

0 commit comments

Comments
 (0)