Commit 3436d288 by Muhammad Usman

htmlentities email fix

parent 787947a0
Pipeline #313 passed with stage
in 0 seconds
...@@ -38,7 +38,7 @@ if($data && (string) $req_id === (string) $data->application->request_id) { ...@@ -38,7 +38,7 @@ if($data && (string) $req_id === (string) $data->application->request_id) {
$sub = get_option('vq_lms_payment_email_subject'); $sub = get_option('vq_lms_payment_email_subject');
$body = get_option('vq_lms_payment_email_template'); $body = get_option('vq_lms_payment_email_template');
$content = get_post_field('post_content', $order_id); //$post->post_content; $content = htmlentities(get_post_field('post_content', $order_id));
$price = get_post_meta($order_id, 'total_amount', true); $price = get_post_meta($order_id, 'total_amount', true);
$status = get_post_meta($order_id, 'payment_status', true); $status = get_post_meta($order_id, 'payment_status', true);
$pmsg = get_post_meta($order_id, 'payment_message', true); $pmsg = get_post_meta($order_id, 'payment_message', true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment