feat: remove forum feature (Phase 1)

This commit is contained in:
2026-08-02 20:02:44 +08:00
parent f3e4cdd9cf
commit 2bbd7c01a3
173 changed files with 51 additions and 27360 deletions
+1 -31
View File
@@ -211,12 +211,6 @@ if (class_exists('\AKSRT\Content\Download')) {
if (class_exists('\AKSRT\Content\Pay')) {
\AKSRT\Content\Pay::get_instance()->init();
}
if (class_exists('\AKSRT\Forum\TopicPay')) {
\AKSRT\Forum\TopicPay::get_instance()->init();
}
if (class_exists('\AKSRT\Forum\PlateFollowPay')) {
\AKSRT\Forum\PlateFollowPay::get_instance()->init();
}
if (class_exists('\AKSRT\Content\VipService')) {
\AKSRT\Content\VipService::get_instance()->init();
}
@@ -355,10 +349,7 @@ if (class_exists('\AKSRT\Payment\Gateway')) {
do_action('aksrt_register_payment_gateways', $gw);
}
if (class_exists('\AKSRT\Forum\Forum')) {
\AKSRT\Forum\Forum::get_instance()->init();
}
if (is_admin() && class_exists('\AKSRT\Core\ResourceMetaBox')) {
if (class_exists('\AKSRT\Core\ResourceMetaBox')) {
\AKSRT\Core\ResourceMetaBox::get_instance()->init();
}
@@ -386,27 +377,6 @@ if (is_admin() && class_exists('\AKSRT\Shop\ProductVariantsMetaBox')) {
\AKSRT\Shop\ProductVariantsMetaBox::get_instance()->init();
}
// 论坛版块版主 meta box
if (is_admin() && class_exists('\AKSRT\Forum\PlateMetaBox')) {
\AKSRT\Forum\PlateMetaBox::get_instance()->init();
}
// 论坛帖子原生列表治理列/筛选/批量
if (is_admin() && class_exists('\AKSRT\Forum\TopicAdminList')) {
\AKSRT\Forum\TopicAdminList::get_instance()->init();
}
// 论坛帖子治理 meta box
if (is_admin() && class_exists('\AKSRT\Forum\TopicMetaBox')) {
\AKSRT\Forum\TopicMetaBox::get_instance()->init();
}
// 论坛版块列表列
if (is_admin() && class_exists('\AKSRT\Forum\PlateAdminList')) {
\AKSRT\Forum\PlateAdminList::get_instance()->init();
}
// 商品评价/评分系统
if (class_exists('\AKSRT\Shop\ProductReview')) {
\AKSRT\Shop\ProductReview::get_instance()->init();