-
Notifications
You must be signed in to change notification settings - Fork 0
installation
YanQS edited this page Dec 13, 2025
·
2 revisions
- 通过 WordPress 插件页面安装
- 将本插件上传至
wp-content/plugins/wp-comment-reply-notify-plugin(或当前目录),在后台启用插件。 - 激活时插件会尝试创建邮件日志表并安排每日维护任务(
pcn_daily_maintenance)。
- 文件权限
- 插件会尝试写入
includes/templates/以保存模板样式。若无法写入,模板将保存到选项pcn_templates。 - 若要让 "载入所选风格" 功能成功写入样式文件,确保
includes/templates/可写。
- 手动调度(可选)
- 如果你的主机禁用 WP-Cron 或需要立刻安排维护,请使用 WP-CLI:
wp eval 'if (!wp_next_scheduled("pcn_daily_maintenance")) { wp_schedule_event(time(), "daily", "pcn_daily_maintenance"); }'- 升级注意事项
- 升级前请备份数据库。配置保存在
wp_options中(如pcn_templates、pcn_log_table_max等)。 - 若升级后发现模板未改变,请检查
includes/templates/的文件权限。