Make WordPress Core

Ticket #35781: 35781.patch

File 35781.patch, 514 bytes (added by Ankit K Gupta, 8 years ago)

added patch

  • wp-includes/pluggable.php

     
    525525                return $phpmailer->Send();
    526526        } catch ( phpmailerException $e ) {
    527527
    528                 $mail_error_data = compact( $to, $subject, $message, $headers, $attachments );
     528                $mail_error_data = compact( 'to', 'subject', 'message', $headers, $attachments );
    529529
    530530                /**
    531531                 * Fires after a phpmailerException is caught.