Make WordPress Core

Ticket #64348: 64348.diff

File 64348.diff, 469 bytes (added by iflairwebtechnologies, 3 months ago)

Fixed : The $embeds element issue

  • wp-includes/pluggable.php

    a b function wp_mail( $to, $subject, $message, $headers = '', $attachments = array() 
    710710
    711711        // Build mail data for hooks.
    712         $mail_data = compact( 'to', 'subject', 'message', 'headers', 'attachments' );
     712        $mail_data = compact( 'to', 'subject', 'message', 'headers', 'attachments', 'embeds' );
    713713
    714714        /**
    715715         * Fires after PHPMailer has successfully sent an email.