From a536fc0b3782128dcc4c88ee72e6c1597b44337b Mon Sep 17 00:00:00 2001 From: nanhaoluo <3075912108@qq.com> Date: Thu, 22 Jan 2026 15:20:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=82=AE=E4=BB=B6?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E6=97=A0=E6=B3=95=E4=BF=9D=E5=AD=98=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在保存邮件模板的代码中添加缺失的 spam_notify 类型 - 修复垃圾评论通知邮件模板无法保存的 bug - 邮件类型数组从 6 个补全为 7 个 --- settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.php b/settings.php index 2829058..6586b46 100644 --- a/settings.php +++ b/settings.php @@ -6230,7 +6230,7 @@ function argon_update_themeoptions(){ update_option('argon_email_social_links', $social_links); // 保存邮件模板配置 - $email_types = array('comment_notify', 'reply_notify', 'user_register', 'password_reset', 'todo_urge', 'general'); + $email_types = array('comment_notify', 'spam_notify', 'reply_notify', 'user_register', 'password_reset', 'todo_urge', 'general'); foreach ($email_types as $type) { // 保存启用状态 argon_update_option_checkbox('argon_email_template_' . $type . '_enabled');