fix(runtime): remove obsolete jQuery compatibility assets

This commit is contained in:
2026-09-05 21:31:11 +08:00
parent 4a12de38cb
commit 49ffdc6ab2
11 changed files with 5 additions and 805 deletions
-17
View File
@@ -146,23 +146,6 @@ function aksrt_is_user_home_page(): bool {
}
endif;
if (!function_exists('aksrt_get_profile_url')) :
/**
* 兼容层:获取用户主页 URL
*
* @deprecated 使用 aksrt_get_user_center_url() 或 aksrt_get_user_home_url() 替代
* @param WP_User|int|string|null $user
* @return string
*/
function aksrt_get_profile_url($user = null): string {
// 无参调用 → 当前用户主页(公开页)
if ($user === null) {
return aksrt_get_user_home_url();
}
return aksrt_get_user_home_url($user);
}
endif;
if (!function_exists('aksrt_get_sign_page_url')) :
/**
* Get the only public authentication page URL.