Zibll 主线收口:统一 single 并清退 compat 资源路径

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-07-09 20:30:49 +08:00
co-authored by Claude
parent 0a6f97af21
commit 09f1eec909
26 changed files with 158 additions and 1325 deletions
-10
View File
@@ -307,16 +307,6 @@ if (class_exists('AKSRT_User_Credits_Admin')) {
AKSRT_User_Credits_Admin::get_instance()->init();
}
// ============================================================
// Homepage data model migration: legacy module tabs -> structured homepage_tabs
// Idempotent; runs once on first admin visit.
// ============================================================
if (is_admin() && class_exists('AKSRT_Settings')) {
add_action('admin_init', function () {
AKSRT_Settings::maybe_migrate_homepage_tabs();
}, 5);
}
// ============================================================
// 主题删除时的数据库清理(仅在用户启用清理选项时生效)
// uninstall.php 会检查 aksrt_cleanup_on_uninstall 选项