feat(users): normalize center routes and withdrawal limits
This commit is contained in:
@@ -292,7 +292,7 @@ $hmb_js = get_template_directory() . '/assets/js/header-newadd.js';
|
||||
$is_resource_archive = function_exists('aksrt_is_resource_archive') && aksrt_is_resource_archive();
|
||||
// /user/{nicename}/ 自定义重写路由(class-aksrt-user.php 注册)
|
||||
// 此路径下 is_page() / is_page_template() 均为 false,需手动识别以正确入队 CSS
|
||||
$is_profile_route = (bool) get_query_var('user_nicename');
|
||||
$is_profile_route = (bool) get_query_var('aksrt_author_identifier');
|
||||
$is_user_center_route = (bool) get_query_var('aksrt_user_center');
|
||||
$is_static_page = is_page() || is_singular('page') || $is_profile_route || $is_user_center_route;
|
||||
$is_auth_route = (bool) get_query_var('aksrt_sign');
|
||||
|
||||
Reference in New Issue
Block a user