summaryrefslogtreecommitdiff
path: root/libs/Options.php
diff options
context:
space:
mode:
authorKurococ Liu <21096362+KurococLiu@users.noreply.github.com>2022-11-01 13:04:56 +0800
committerKurococ Liu <21096362+KurococLiu@users.noreply.github.com>2022-11-01 13:04:56 +0800
commit7d43a015736099c950e2edd16fe4cd3788a83b80 (patch)
tree4042ee584c408410996cbd4ce33a6b6aa723b79f /libs/Options.php
parent8c3233cb669541430f7b71b955c4fbe4981c5862 (diff)
:bug: Fix: 默认关闭字数统计插件
Diffstat (limited to 'libs/Options.php')
-rw-r--r--libs/Options.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/Options.php b/libs/Options.php
index 04384c0..65cbcce 100644
--- a/libs/Options.php
+++ b/libs/Options.php
@@ -138,10 +138,10 @@ function themeConfig($form) {
'able' => _t('启用'),
'disable' => _t('停用'),
),
- 'able',
+ 'disable',
_t('是否启用 <a rel="nofollow" target="_blank" href="https://github.com/elatisy/Typecho_WordsCounter">字数统计</a> 功能'),
_t('
- <a rel="nofollow" target="_blank" href="https://github.com/elatisy/Typecho_WordsCounter">字数统计</a>是一个基于WordsCounter插件统计全站字数的,<b>默认启用</b>
+ <a rel="nofollow" target="_blank" href="https://github.com/elatisy/Typecho_WordsCounter">字数统计</a>是一个基于WordsCounter插件统计全站字数的
')
);
$form->addInput($EnableWordsCounter->addRule('required', _t('此处必须设置')));