Merge branch 'ticket52' into develop
This commit is contained in:
commit
0b0e16f175
1 changed files with 8 additions and 1 deletions
|
|
@ -300,7 +300,14 @@ function ContactAjx() {
|
|||
);
|
||||
|
||||
$email = sendNotification($postID);
|
||||
wp_mail($email, "Vous avez un message à traiter sur le site LDC", "$ref");
|
||||
wp_mail($email, "Vous avez un message à traiter sur le site LDC", sprintf(
|
||||
'%s : %s %s %s %s %s %s ',
|
||||
$ref,
|
||||
$firstname,
|
||||
$lastname,
|
||||
PHP_EOL,
|
||||
$content
|
||||
));
|
||||
} else {
|
||||
$error = new WP_Error( '002', 'Check Failure', 'Recaptcha');
|
||||
wp_send_json_error($error, 500);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue