← 所有版本
core

v0.4.8

  • Tracker 不再为 excluded_roles 中的用户触发
  • 针对 tracking_enabled、excluded_roles、maxmind_license_key、GeoIP 定时任务调度以及 retention_mode=archive 的端到端覆盖

补丁版本

修复

  • Tracker 不再为 excluded_roles 中的用户触发。此前角色判断仅在 /hit REST 端点处运行,而 REST 的 Cookie 鉴权会把没有 nonce 的 tracker beacon 视为访客,因此被排除的管理员/编辑仍然会被记录页面浏览。该判断现已迁移到 wp_enqueue_scripts 阶段执行,此时 wp_get_current_user() 是可靠的。

新增

  • 针对 tracking_enabledexcluded_rolesmaxmind_license_key(脱敏 + 400 路径)、启用时的 GeoIP 定时任务调度以及 retention_mode=archive 的端到端覆盖。新增 mu-plugin 调试端点 /debug/ensure-user,以及用于非管理员角色测试会话的 role-login.ts fixture。

内部

  • 修复了 dbQuery 端到端解析器静默丢弃空字符串行的问题(mysql --batch 行分隔符的换行被 .trim() 剥掉了)。
免费获取 Statnive