Skip to content

Commit

Permalink
feat: upgrade to version 4.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
seatonjiang committed Aug 25, 2023
1 parent 34cf7b8 commit 0b0b637
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion assets/js/kratos.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
(function ($) {
"use strict";

var KRATOS_VERSION = "4.2.3";
var KRATOS_VERSION = "4.2.4";

var navbarConfig = function () {
$("#navbutton").on("click", function () {
Expand Down
11 changes: 6 additions & 5 deletions functions.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
<?php
if (defined('WP_USE_THEMES') && WP_USE_THEMES === false) {
return;
}

/**
* 模板函数
* @author Seaton Jiang <[email protected]>
* @license GPL-3.0 License
* @version 2023.03.30
* @version 2023.08.25
*/

define('THEME_VERSION', '4.2.3');
define('THEME_VERSION', '4.2.4');

if (defined('WP_USE_THEMES') && WP_USE_THEMES === false) {
return;
}

// 主题配置
require get_template_directory() . '/inc/codestar-framework/autoload.php';
Expand Down
6 changes: 3 additions & 3 deletions inc/update-checker/update.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "4.2.3",
"details_url": "https://github.com/seatonjiang/kratos/releases/tag/v4.2.3",
"download_url": "https://cdn.seatonjiang.com/kratos/v4.2.3.zip"
"version": "4.2.4",
"details_url": "https://github.com/seatonjiang/kratos/releases/tag/v4.2.4",
"download_url": "https://cdn.seatonjiang.com/kratos/v4.2.4.zip"
}
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
Theme Name: Kratos
Text Domain: kratos
Version: 4.2.3
Version: 4.2.4
Requires PHP: 7.4
Requires at least: 5.3.0
Description: 主题提供了多种针对自媒体博客需求的侧栏工具,删繁就简专注于用户的阅读体验,优化的邮件中心为你的网站留存加分添彩。
Expand Down

0 comments on commit 0b0b637

Please sign in to comment.