Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Alto
/
fenix_catheter
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 087266a9
authored
2022-09-14 10:12:28 +0300
by
Alto
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Отключил генерацию исключения при отправки почты
1 parent
e45ca20f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
wp-content/themes/fenixmedica/functions.php
wp-content/themes/fenixmedica/functions.php
View file @
087266a
...
...
@@ -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
;
}
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment