Changeset 6084
- Timestamp:
- 09/11/07 20:49:28 (1 year ago)
- Files:
-
- trunk/wp-includes/pluggable.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/pluggable.php
r6026 r6084 159 159 if ( !function_exists( 'wp_mail' ) ) : 160 160 function wp_mail( $to, $subject, $message, $headers = '' ) { 161 // Compact the input, apply the filters, and extract them back out 162 extract( apply_filters( 'wp_mail', compact( 'to', 'subject', 'message', 'headers' ) ) ); 163 161 164 global $phpmailer; 162 165 … … 167 170 $phpmailer = new PHPMailer(); 168 171 } 169 170 // Compact the input, apply the filters, and extract them back out171 extract( apply_filters( 'wp_mail', compact( 'to', 'subject', 'message', 'headers' ) ), EXTR_SKIP );172 172 173 173 // Headers
