WordPress.org

Make WordPress Core

Ticket #4511: wp_mail_1.diff

File wp_mail_1.diff, 537 bytes (added by takayukister, 10 years ago)
  • wp-includes/pluggable.php

     
    168168        } 
    169169 
    170170        // Compact the input, apply the filters, and extract them back out 
    171         extract( apply_filters( 'wp_mail', compact( 'to', 'subject', 'message', 'headers' ) ), EXTR_SKIP ); 
     171        extract( apply_filters( 'wp_mail', compact( 'to', 'subject', 'message', 'headers' ) ) ); 
    172172 
    173173        // Default headers 
    174174        if ( empty( $headers ) ) {