e5ec3de81f5f66dc1548f4a914902eb3cb73901f
- 将 human_time_diff() 的两个参数统一使用 GMT 时间戳
- get_comment_time('U', true) 返回 GMT 时间戳
- current_time('timestamp', true) 返回 GMT 时间戳
- 确保时间差计算使用相同时区,避免时区转换导致的时间偏差
- 修复了刚发送的评论显示为 8 小时前的问题
Description
Argon WordPress主题
Languages
PHP
45%
CSS
42.9%
JavaScript
7.2%
HTML
4.9%