diff --git a/includes/settings/wp-wechat-config.php b/includes/settings/wp-wechat-config.php index 19734256f67e2fe6d5067a1c6c68d81c23524f4a..b577b8431408abf79f40a65ff3dd5480f8b9173a 100644 --- a/includes/settings/wp-wechat-config.php +++ b/includes/settings/wp-wechat-config.php @@ -27,8 +27,7 @@ function get_jquery_source() { function register_weixinappsettings() { // 注册设置 register_setting( 'weixinapp-group', 'wf_appid' ); - register_setting( 'weixinapp-group', 'wf_secret' ); - // register_setting( 'weixinapp-group', 'wf_swipe' ); + register_setting( 'weixinapp-group', 'wf_secret' ); register_setting( 'weixinapp-group', 'wf_mchid' ); register_setting( 'weixinapp-group', 'wf_paykey' ); @@ -93,8 +92,7 @@ function weixinapp_settings_page() { if (!empty($_REQUEST['settings-updated'])) { if(function_exists('MRAC')) - { - + { $cachedata= MRAC()->cacheManager->clear_cache(); } echo '
设置已保存