Make WordPress Core


Ignore:
Timestamp:
02/24/2016 05:37:36 PM (9 years ago)
Author:
SergeyBiryukov
Message:

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

Props Ankit K Gupta, maweder.
Fixes #35781 for trunk.

File:
1 edited

Legend:

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

    r36651 r36688  
    479479    } catch ( phpmailerException $e ) {
    480480
    481         $mail_error_data = compact( $to, $subject, $message, $headers, $attachments );
     481        $mail_error_data = compact( 'to', 'subject', 'message', 'headers', 'attachments' );
    482482
    483483        /**
Note: See TracChangeset for help on using the changeset viewer.