From 27b0cc0a0eab35d62ca7ba00a6f6e8666153e8c9 Mon Sep 17 00:00:00 2001 From: Seaton Jiang Date: Fri, 20 Aug 2021 12:56:42 +0800 Subject: [PATCH] fix: article copyright function --- inc/theme-options.php | 2 +- single.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/theme-options.php b/inc/theme-options.php index 639348c..8584319 100644 --- a/inc/theme-options.php +++ b/inc/theme-options.php @@ -614,7 +614,7 @@ CSF::createSection($prefix, array( 'type' => 'switcher', 'title' => __('附加功能', 'kratos'), 'subtitle' => __('启用/禁用文章自动保存、修订版本功能', 'kratos'), - 'default' => false, + 'default' => true, ), array( 'id' => 'g_article_widgets', diff --git a/single.php b/single.php index b3aba4a..a651d33 100644 --- a/single.php +++ b/single.php @@ -118,7 +118,7 @@ $select_col = $col_array[kratos_option('g_article_widgets', 'two_side')]; } ?> - __('知识共享署名 4.0 国际许可协议', 'kratos'), 'two' => __('知识共享署名-非商业性使用 4.0 国际许可协议', 'kratos'), @@ -127,7 +127,7 @@ $select_col = $col_array[kratos_option('g_article_widgets', 'two_side')]; 'five' => __('知识共享署名-相同方式共享 4.0 国际许可协议', 'kratos'), 'six' => __('知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议', 'kratos'), ); - $select_cc = $cc_array[kratos_option('g_cc', 'one')]; + $select_cc = $cc_array[kratos_option('g_cc', 'one', 'g_cc_fieldset')]; echo '';