feat: upgrade to version 4.2.4

pull/620/head
Seaton Jiang 2023-08-25 16:42:18 +08:00
parent 34cf7b8dd4
commit 0b0b63791c
No known key found for this signature in database
GPG Key ID: B79682F6FE8D30E3
4 changed files with 11 additions and 10 deletions

View File

@ -5,7 +5,7 @@
(function ($) { (function ($) {
"use strict"; "use strict";
var KRATOS_VERSION = "4.2.3"; var KRATOS_VERSION = "4.2.4";
var navbarConfig = function () { var navbarConfig = function () {
$("#navbutton").on("click", function () { $("#navbutton").on("click", function () {

View File

@ -1,16 +1,17 @@
<?php <?php
if (defined('WP_USE_THEMES') && WP_USE_THEMES === false) {
return;
}
/** /**
* 模板函数 * 模板函数
* @author Seaton Jiang <hi@seatonjiang.com> * @author Seaton Jiang <hi@seatonjiang.com>
* @license GPL-3.0 License * @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'; require get_template_directory() . '/inc/codestar-framework/autoload.php';

View File

@ -1,5 +1,5 @@
{ {
"version": "4.2.3", "version": "4.2.4",
"details_url": "https://github.com/seatonjiang/kratos/releases/tag/v4.2.3", "details_url": "https://github.com/seatonjiang/kratos/releases/tag/v4.2.4",
"download_url": "https://cdn.seatonjiang.com/kratos/v4.2.3.zip" "download_url": "https://cdn.seatonjiang.com/kratos/v4.2.4.zip"
} }

View File

@ -2,7 +2,7 @@
/* /*
Theme Name: Kratos Theme Name: Kratos
Text Domain: kratos Text Domain: kratos
Version: 4.2.3 Version: 4.2.4
Requires PHP: 7.4 Requires PHP: 7.4
Requires at least: 5.3.0 Requires at least: 5.3.0
Description: Description: