← 所有版本
v0.4.8
- Tracker 不再为 excluded_roles 中的用户触发
- 针对 tracking_enabled、excluded_roles、maxmind_license_key、GeoIP 定时任务调度以及 retention_mode=archive 的端到端覆盖
补丁版本
修复
- Tracker 不再为
excluded_roles中的用户触发。此前角色判断仅在/hitREST 端点处运行,而 REST 的 Cookie 鉴权会把没有 nonce 的 tracker beacon 视为访客,因此被排除的管理员/编辑仍然会被记录页面浏览。该判断现已迁移到wp_enqueue_scripts阶段执行,此时wp_get_current_user()是可靠的。
新增
- 针对
tracking_enabled、excluded_roles、maxmind_license_key(脱敏 + 400 路径)、启用时的 GeoIP 定时任务调度以及retention_mode=archive的端到端覆盖。新增 mu-plugin 调试端点/debug/ensure-user,以及用于非管理员角色测试会话的role-login.tsfixture。
内部
- 修复了
dbQuery端到端解析器静默丢弃空字符串行的问题(mysql--batch行分隔符的换行被.trim()剥掉了)。