Zibll 主线收口:统一 single 并清退 compat 资源路径
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -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 选项
|
||||
|
||||
Reference in New Issue
Block a user