mirror of
https://github.com/WenPai-org/wp-china-yes.git
synced 2025-08-06 21:53:56 +08:00
修复插件直接更新后因没有启用的过程而导致无法生成初始配置的问题
This commit is contained in:
parent
44238eb448
commit
6f25f61522
1 changed files with 4 additions and 0 deletions
|
@ -41,6 +41,10 @@ class WP_CHINA_YES {
|
|||
__CLASS__,
|
||||
'admin_menu'
|
||||
));
|
||||
|
||||
if (empty(get_option('wp_china_yes_options'))) {
|
||||
self::wp_china_yes_activate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue