Skip to content

Commit

Permalink
更新版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
zhheo committed Apr 27, 2024
1 parent 6e041ef commit f0eb759
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function themeConfig($form)
$data = json_decode(file_get_contents('https://plog.zhheo.com/usr/themes/TimePlus/releases.json'), true);
$message = $data['tag_name'];
//当前版本号
$selfmessage = '2.9';
$selfmessage = '2.10';
if ($selfmessage == $message) {
echo 'TimePlus&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp当前版本:' . 'v' . $selfmessage . "&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp" . '最新版本:' . 'v' . $message;
} else if ($selfmessage > $message) {
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* 一款相册主题,Plus系列目前由Heo维护
* @package TimePlus
* @author zhheo
* @version 2.9
* @version 2.10
* @link https://zhheo.com/
*/
?>
Expand Down
2 changes: 1 addition & 1 deletion releases.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"tag_name": "2.9"
"tag_name": "2.10"
}

0 comments on commit f0eb759

Please sign in to comment.