This commit is contained in:
杜恒 2021-04-27 12:22:40 +08:00
parent 75e7306f8a
commit 4626dc7562
3 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@
/* 获取主题当前版本号 */ /* 获取主题当前版本号 */
function _getVersion() function _getVersion()
{ {
return "6.7.0"; return "6.7.1";
}; };
/* 判断是否是手机 */ /* 判断是否是手机 */

View File

@ -32,6 +32,7 @@ class Widget_Contents_Sort extends Widget_Abstract_Contents
->from('table.contents') ->from('table.contents')
->where('table.contents.type = ?', 'post') ->where('table.contents.type = ?', 'post')
->where('table.contents.status = ?', 'publish') ->where('table.contents.status = ?', 'publish')
->where('table.contents.created < ?', time())
->limit($this->parameter->pageSize) ->limit($this->parameter->pageSize)
->offset($offset) ->offset($offset)
->order($this->parameter->type, Typecho_Db::SORT_DESC), ->order($this->parameter->type, Typecho_Db::SORT_DESC),

View File

@ -1,6 +1,6 @@
{ {
"name": "typecho-joe-next", "name": "typecho-joe-next",
"version": "6.7.0", "version": "6.7.1",
"description": "A Theme Of Typecho", "description": "A Theme Of Typecho",
"main": "index.php", "main": "index.php",
"keywords": [ "keywords": [