This commit is contained in:
Mike Jolley 2011-11-18 16:05:00 +00:00
parent 0af9b98d18
commit 1b16599831
2 changed files with 3 additions and 1 deletions

View File

@ -93,6 +93,7 @@ Yes you can! Join in on our GitHub repository :) https://github.com/woothemes/wo
* More logging in paypal gateway
* Feature to prevent admin access to customers (optional)
* Fixed quick edit
* text/html email headers
= 1.2.3 - 17/11/2011 =
* Fix for sale price logic

View File

@ -29,7 +29,8 @@ function woocommerce_mail( $to, $subject, $message ) {
add_filter( 'wp_mail_content_type', 'woocommerce_email_content_type' );
// Send the mail
wp_mail( $to, $subject, $message );
$headers = "Content-Type: text/html" . "\r\n";
wp_mail( $to, $subject, $message, $headers );
// Unhook
remove_filter( 'wp_mail_from', 'woocommerce_mail_from' );