WordPress.org

Make WordPress Core

Changeset 37081


Ignore:
Timestamp:
03/25/2016 05:06:17 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Mail: Correct compact() usage in wp_mail().

Merges [36688] to the 4.4 branch.

Props Ankit K Gupta, maweder.
Fixes #35781.

File:
1 edited

Legend:

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

    r36447 r37081  
    542542    } catch ( phpmailerException $e ) {
    543543
    544         $mail_error_data = compact( $to, $subject, $message, $headers, $attachments );
     544        $mail_error_data = compact( 'to', 'subject', 'message', 'headers', 'attachments' );
    545545
    546546        /**
Note: See TracChangeset for help on using the changeset viewer.