fix(theme): repair page display frontend regressions
This commit is contained in:
@@ -527,7 +527,6 @@ trait ScriptsPart1c {
|
||||
// 用户状态
|
||||
'isLoggedIn' => is_user_logged_in(),
|
||||
'userId' => get_current_user_id(),
|
||||
'cartUrl' => $runtime_routes['cart'],
|
||||
'ordersUrl' => $runtime_routes['orders'],
|
||||
'userCenterUrl' => function_exists('aksrt_get_user_center_url') ? aksrt_get_user_center_url() : home_url('/'),
|
||||
'routes' => [
|
||||
@@ -536,7 +535,6 @@ trait ScriptsPart1c {
|
||||
'register' => function_exists('aksrt_get_register_url') ? aksrt_get_register_url() : wp_registration_url(),
|
||||
'resetPassword' => function_exists('aksrt_get_reset_password_url') ? aksrt_get_reset_password_url() : wp_lostpassword_url(),
|
||||
'profile' => function_exists('aksrt_get_user_center_url') ? aksrt_get_user_center_url() : home_url('/profile/'),
|
||||
'cart' => $runtime_routes['cart'],
|
||||
'orders' => $runtime_routes['orders'],
|
||||
'resources' => $runtime_routes['resources'],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user