From cc1742aeacaab204913af3f83576929007ffd914 Mon Sep 17 00:00:00 2001 From: Seaton Jiang Date: Mon, 5 Aug 2024 18:52:33 +0800 Subject: [PATCH] chore: admin bar notification instructions --- inc/theme-core.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/theme-core.php b/inc/theme-core.php index b097203..19e8a62 100644 --- a/inc/theme-core.php +++ b/inc/theme-core.php @@ -4,7 +4,7 @@ * 核心函数 * @author Seaton Jiang * @license GPL-3.0 License - * @version 2024.01.17 + * @version 2024.08.05 */ use YahnisElsts\PluginUpdateChecker\v5\PucFactory; @@ -128,7 +128,7 @@ add_action('admin_enqueue_scripts', 'kratos_admin_enqueue', 20); if (kratos_option('g_admin_notice', true)) { function custom_admin_notice() { - $message = __('感谢您使用 Kratos 主题进行创作,全新主题 Fraise 即将上线,欢迎加入 QQ 群讨论交流:618958939', 'kratos'); + $message = __('感谢您使用 Kratos 主题进行创作,全新主题 Fraise 即将上线,欢迎加入 QQ 群讨论交流:618958939,可在「主题设置 - 全站配置 - 后台管理员通知」关闭此通知。', 'kratos'); echo '

' . $message . '

'; } add_action('admin_notices', 'custom_admin_notice');