diff --git a/core/function.php b/core/function.php index 36e718a..977e09f 100644 --- a/core/function.php +++ b/core/function.php @@ -2,7 +2,7 @@ /* 获取主题当前版本号 */ function _getVersion() { - return "6.7.0"; + return "6.7.1"; }; /* 判断是否是手机 */ diff --git a/core/widget.php b/core/widget.php index a13ed9f..c8235b5 100644 --- a/core/widget.php +++ b/core/widget.php @@ -32,6 +32,7 @@ class Widget_Contents_Sort extends Widget_Abstract_Contents ->from('table.contents') ->where('table.contents.type = ?', 'post') ->where('table.contents.status = ?', 'publish') + ->where('table.contents.created < ?', time()) ->limit($this->parameter->pageSize) ->offset($offset) ->order($this->parameter->type, Typecho_Db::SORT_DESC), diff --git a/package.json b/package.json index 243a4ec..a8f5836 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "typecho-joe-next", - "version": "6.7.0", + "version": "6.7.1", "description": "A Theme Of Typecho", "main": "index.php", "keywords": [