From f9bce15c9a69b294ab12de1e68199a0cec5ef722 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 13 Aug 2026 13:03:13 +0800 Subject: [PATCH] fix(users): default center to vip --- inc/modules/user-parts/urls.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/modules/user-parts/urls.php b/inc/modules/user-parts/urls.php index db012415..3f589964 100644 --- a/inc/modules/user-parts/urls.php +++ b/inc/modules/user-parts/urls.php @@ -19,7 +19,7 @@ if (!function_exists('aksrt_get_user_center_url')) : * @return string */ function aksrt_get_user_center_url(string $tab = ''): string { - $tab = sanitize_key($tab ?: 'profile'); + $tab = sanitize_key($tab ?: 'vip'); $aliases = ['assets' => 'credits', 'signin' => 'credits', 'invite' => 'revenue', 'promotion' => 'revenue']; $tab = $aliases[$tab] ?? $tab; $path_tab = $tab === 'credits' ? 'balance' : $tab;