Changeset 8103 for branches/crazyhorse/wp-includes/pluggable.php
- Timestamp:
- 06/16/2008 09:08:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/crazyhorse/wp-includes/pluggable.php
r8069 r8103 316 316 $content_type = trim( $content ); 317 317 } 318 } elseif ( 'cc' == strtolower($name) ) { 319 $cc = explode(",", $content); 320 } elseif ( 'bcc' == strtolower($name) ) { 321 $bcc = explode(",", $content); 318 322 } else { 319 323 // Add it to our grand headers array … … 360 364 $phpmailer->Subject = $subject; 361 365 $phpmailer->Body = $message; 366 367 // Add any CC and BCC recipients 368 if ( !empty($cc) ) { 369 foreach ($cc as $recipient) { 370 $phpmailer->AddCc( trim($recipient) ); 371 } 372 } 373 if ( !empty($bcc) ) { 374 foreach ($bcc as $recipient) { 375 $phpmailer->AddBcc( trim($recipient) ); 376 } 377 } 362 378 363 379 // Set to use PHP's mail()
Note: See TracChangeset
for help on using the changeset viewer.