From 9f1963fcb06b807180d0e33bdf07ecc9cd09a3f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Thu, 16 Nov 2023 00:28:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=A4=87=E6=A1=88?= =?UTF-8?q?=E5=8F=B7=E9=87=8D=E5=A4=8D=E8=BE=93=E5=87=BA=E5=8F=8A=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E8=AE=BE=E7=BD=AE=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- footer.php | 3 --- inc/theme-options.php | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/footer.php b/footer.php index 07f4f25..d3ce35d 100644 --- a/footer.php +++ b/footer.php @@ -55,9 +55,6 @@ ?>
' . kratos_option('s_icp') . ''; - } if (kratos_option('g_performance')) { echo ''. sprintf( '请求次数:%d 次,加载用时:%.3f 秒,内存占用:%.2f MB', get_num_queries(), timer_stop(), memory_get_peak_usage() / 1024 / 1024 ) . '
'; } diff --git a/inc/theme-options.php b/inc/theme-options.php index c0e1259..041cb44 100644 --- a/inc/theme-options.php +++ b/inc/theme-options.php @@ -45,8 +45,11 @@ CSF::createOptions($prefix, array( 'menu_title' => __('主题设置', 'kratos'), 'menu_slug' => 'kratos-options', 'show_search' => false, + 'show_bar_menu' => false, 'show_all_options' => false, 'sticky_header' => false, + 'enqueue_webfont' => false, + 'async_webfont' => true, 'admin_bar_menu_icon' => 'dashicons-admin-generic', 'framework_title' => '主题设置Kratos Pjax Edition v' . THEME_VERSION . '', 'theme' => 'light',