From a0d8f8a6cf59ba7051ea5aabdd4fb258a4124ac3 Mon Sep 17 00:00:00 2001 From: Spirit Date: Tue, 4 Aug 2020 17:51:07 +0800 Subject: [PATCH] fix: fix mail notify fix wrong position of comment text in mail notify issue #237 --- functions.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/functions.php b/functions.php index 806eda6..78b3c11 100644 --- a/functions.php +++ b/functions.php @@ -801,7 +801,7 @@ function custom_login() //echo ''."\n"; echo '' . "\n"; //echo ''."\n"; - echo '' . "\n"; + echo '' . "\n"; } add_action('login_head', 'custom_login'); @@ -969,11 +969,11 @@ function comment_mail_notify($comment_id)

您有一条来自' . get_option("blogname") . '的回复


您在文章《' . get_the_title($comment->comment_post_ID) . '》上发表的评论:

-

' - . trim(get_comment($parent_id)->comment_content) . '

+
' + . trim(get_comment($parent_id)->comment_content) . '

' . trim($comment->comment_author) . ' 给您的回复如下:

-

' - . trim($comment->comment_content) . '

+
' + . trim($comment->comment_content) . '