diff --git a/README.md b/README.md index 8e3a833e..99700371 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,9 @@ Argon 使用 [GPL V3.0](https://github.com/solstice23/argon-theme/blob/master/LI # 更新日志 +## 20200331 v0.922 ++ 修复评论编辑历史记录时间显示错误的问题 + ## 20200330 v0.921 + 修复评论编辑历史记录的 BUG + 优化搜索逻辑 diff --git a/functions.php b/functions.php index b95eeb41..320f0b3c 100644 --- a/functions.php +++ b/functions.php @@ -379,6 +379,7 @@ function get_comment_edit_history(){ $editHistory = array_reverse($editHistory); $res = ""; $position = count($editHistory) + 1; + date_default_timezone_set(get_option('timezone_string')); foreach ($editHistory as $edition){ $position -= 1; $res .= "
diff --git a/info.json b/info.json index efee7243..3b961a10 100644 --- a/info.json +++ b/info.json @@ -1,5 +1,5 @@ { - "version" : "0.921", + "version" : "0.922", "details_url" : "https://github.com/solstice23/argon-theme/releases", - "download_url" : "https://github.com/solstice23/argon-theme/releases/download/v0.921/argon.zip" + "download_url" : "https://github.com/solstice23/argon-theme/releases/download/v0.922/argon.zip" } diff --git a/style.css b/style.css index 6e963bb0..0c968d40 100644 --- a/style.css +++ b/style.css @@ -3,7 +3,7 @@ Theme Name: argon Author: solstice23 Author URI: https://solstice23.top/ Description: 轻盈、简洁、美观的 Wordpress 主题 -Version: 0.921 +Version: 0.922 License: GNU General Public License v3.0 License URI: https://www.gnu.org/licenses/gpl-3.0.html Tags: 简约, 两栏, 侧栏在左边, 浮动侧栏, 文章目录, 自适应, 夜间模式, 可自定义