Make WordPress Core


Ignore:
Timestamp:
12/05/2025 01:38:48 AM (4 months ago)
Author:
westonruter
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pluggable.php

    r61321 r61352  
    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!
Note: See TracChangeset for help on using the changeset viewer.