borked last commit

This commit is contained in:
Mike Jolley 2012-12-11 17:18:08 +00:00
parent 81290a9ceb
commit d057ce7769
1 changed files with 1 additions and 1 deletions

View File

@ -1138,7 +1138,7 @@ class WC_Order {
if ( isset( $_SERVER['HTTP_HOST'] ) )
$comment_author_email = sanitize_email( strtolower( __( 'WooCommerce', 'woocommerce' ) ) . '@' . str_replace( 'www.', '', $_SERVER['HTTP_HOST'] ) );
else
$comment_author_email = sanitize_email( strtolower( __( 'WooCommerce', 'woocommerce' ) ) . '@noreply.com';
$comment_author_email = sanitize_email( strtolower( __( 'WooCommerce', 'woocommerce' ) ) . '@noreply.com' );
$comment_post_ID = $this->id;
$comment_author = __( 'WooCommerce', 'woocommerce' );