Ticket #11376: wp_mail-MsgHTML.diff
File wp_mail-MsgHTML.diff, 642 bytes (added by , 14 years ago) |
---|
-
wp-includes/pluggable.php
447 447 448 448 $phpmailer->ContentType = $content_type; 449 449 450 // Set whether it's plaintext, depending on $content_type 450 // Check if we're dealing with an HTML email 451 // MsgHTML marks email as HTML and creates plain text copy, albeit a terrible one 451 452 if ( 'text/html' == $content_type ) 452 $phpmailer-> IsHTML( true );453 $phpmailer->MsgHTML( $message ); 453 454 454 455 // If we don't have a charset from the input headers 455 456 if ( !isset( $charset ) )