Headers
This commit is contained in:
parent
0af9b98d18
commit
1b16599831
|
@ -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
|
||||
|
|
|
@ -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' );
|
||||
|
|
Loading…
Reference in New Issue