From 555bbf4e0b7b97a5faa9c2bff3b7918380550bde Mon Sep 17 00:00:00 2001 From: xcsoft Date: Sun, 13 Feb 2022 18:27:45 +0800 Subject: [PATCH 1/2] bugFixed --- Action.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Action.php b/Action.php index be0d85f..c3e95c8 100755 --- a/Action.php +++ b/Action.php @@ -256,7 +256,7 @@ private function authorMail() "spam" => '垃圾' ]; $search = array( - '{{siteTitle}', + '{{siteTitle}}', '{{title}}', '{{author}}', '{{ip}}', @@ -294,7 +294,7 @@ public function guestMail() { $date = new \Typecho\Date($this->_comment->created); $search = [ - '{siteTitle}', + '{{siteTitle}}', '{{title}}', '{{author_p}}', '{{author}}', From 63c6cbcde03e4202e87553327a7725118ab37cdd Mon Sep 17 00:00:00 2001 From: xcsoft Date: Sun, 13 Feb 2022 18:28:41 +0800 Subject: [PATCH 2/2] Update Plugin.php --- Plugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugin.php b/Plugin.php index 1be9b03..cee747d 100755 --- a/Plugin.php +++ b/Plugin.php @@ -12,9 +12,9 @@ * * @package CommentToMail * @author xcsoft - * @version 1.2.1 + * @version 1.2.4 * @link https://xsot.cn - * @LastEditDate 20220130 + * @LastEditDate 20220213 */ if (!defined('__TYPECHO_ROOT_DIR__')) exit;