fix: 修复邮件模板无法保存的问题
- 在保存邮件模板的代码中添加缺失的 spam_notify 类型 - 修复垃圾评论通知邮件模板无法保存的 bug - 邮件类型数组从 6 个补全为 7 个
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user