Commit 087266a9 by Alto

Отключил генерацию исключения при отправки почты

1 parent e45ca20f
......@@ -200,7 +200,7 @@ function author_new_comment_notify( $comment_ID, $comment_approved ){
$subject = '['.$_SERVER['HTTP_HOST'].'] Заявка на обратную связь от '.$comment->comment_author;
// заголовки
$headers = 'From: No Answer <noanswer@'. $_SERVER['HTTP_HOST'] .'>' . "\r\n";
wp_mail( get_option( 'admin_email' ), $subject, $message, $headers );
@wp_mail( get_option( 'admin_email' ), $subject, $message, $headers );
break;
}
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!