From 0b0b63791c9e7e54589d9d1bdce60b1e86078487 Mon Sep 17 00:00:00 2001 From: Seaton Jiang Date: Fri, 25 Aug 2023 16:42:18 +0800 Subject: [PATCH] feat: upgrade to version 4.2.4 --- assets/js/kratos.js | 2 +- functions.php | 11 ++++++----- inc/update-checker/update.json | 6 +++--- style.css | 2 +- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/assets/js/kratos.js b/assets/js/kratos.js index 1ff65ce..c70de31 100644 --- a/assets/js/kratos.js +++ b/assets/js/kratos.js @@ -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 () { diff --git a/functions.php b/functions.php index 2e5ecdc..9c0ae49 100644 --- a/functions.php +++ b/functions.php @@ -1,16 +1,17 @@ * @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'; diff --git a/inc/update-checker/update.json b/inc/update-checker/update.json index dd09e13..a04d9c9 100644 --- a/inc/update-checker/update.json +++ b/inc/update-checker/update.json @@ -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" } diff --git a/style.css b/style.css index 8b6b5af..fb0d32e 100644 --- a/style.css +++ b/style.css @@ -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: 主题提供了多种针对自媒体博客需求的侧栏工具,删繁就简专注于用户的阅读体验,优化的邮件中心为你的网站留存加分添彩。