Added back headers Closes #635.

This commit is contained in:
Mike Jolley 2012-02-15 18:49:27 +00:00
parent 38609b3365
commit d9b4307009
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class WC_Email {
return $message;
}
function send( $to, $subject, $message, $headers = "", $attachments = "" ) {
function send( $to, $subject, $message, $headers = "Content-Type: text/html\r\n", $attachments = "" ) {
add_filter( 'wp_mail_from', array(&$this, 'get_from_address') );
add_filter( 'wp_mail_from_name', array(&$this, 'get_from_name') );
add_filter( 'wp_mail_content_type', array(&$this, 'get_content_type') );