borked last commit
This commit is contained in:
parent
81290a9ceb
commit
d057ce7769
|
@ -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' );
|
||||
|
|
Loading…
Reference in New Issue