diff --git a/classes/class-wc-email.php b/classes/class-wc-email.php index 5b0f35e730f..9d9e643336a 100644 --- a/classes/class-wc-email.php +++ b/classes/class-wc-email.php @@ -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') );