Make WordPress Core

Ticket #35781: 35781.1.patch

File 35781.1.patch, 516 bytes (added by Ankit K Gupta, 10 years ago)

Updated patch file

  • 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.