Skip to content

installation

YanQS edited this page Dec 13, 2025 · 2 revisions

安装与升级

  1. 通过 WordPress 插件页面安装
  • 将本插件上传至 wp-content/plugins/wp-comment-reply-notify-plugin(或当前目录),在后台启用插件。
  • 激活时插件会尝试创建邮件日志表并安排每日维护任务(pcn_daily_maintenance)。
  1. 文件权限
  • 插件会尝试写入 includes/templates/ 以保存模板样式。若无法写入,模板将保存到选项 pcn_templates
  • 若要让 "载入所选风格" 功能成功写入样式文件,确保 includes/templates/ 可写。
  1. 手动调度(可选)
  • 如果你的主机禁用 WP-Cron 或需要立刻安排维护,请使用 WP-CLI:

wp eval 'if (!wp_next_scheduled("pcn_daily_maintenance")) { wp_schedule_event(time(), "daily", "pcn_daily_maintenance"); }'

  1. 升级注意事项
  • 升级前请备份数据库。配置保存在 wp_options 中(如 pcn_templatespcn_log_table_max 等)。
  • 若升级后发现模板未改变,请检查 includes/templates/ 的文件权限。

主页 (Home)中文English

安装与升级 (Installation and Upgrade)中文English

模板与样式 (Templates and Style)中文English

日志与Cron (logs&cron)中文English

国际化 (Localization)中文English

变更日志 (Changelog)中文English

Clone this wiki locally