Merge pull request 'fix(uc): drop 我的订单 from 我的服务; keep under 权益与消费' (#303) from worktree-ip-location-display into main
Reviewed-on: CYL/wordpress-theme-aksrt#303
This commit is contained in:
commit
8fbde0785e
1 file changed
+2
-2
@@ -13,8 +13,8 @@ defined('ABSPATH') || exit;
|
|||||||
<div class="uc-sidebar__title"><?php esc_html_e('我的服务', 'aksrt'); ?></div>
|
<div class="uc-sidebar__title"><?php esc_html_e('我的服务', 'aksrt'); ?></div>
|
||||||
<div class="uc-sidebar__buttons">
|
<div class="uc-sidebar__buttons">
|
||||||
<?php foreach ($dashboard_tabs as $tab_key => $tab) :
|
<?php foreach ($dashboard_tabs as $tab_key => $tab) :
|
||||||
// VIP only under 权益与消费 (sidebar-commerce), not duplicated here.
|
// VIP / 订单 only under 权益与消费 (sidebar-commerce), not duplicated here.
|
||||||
if ((string) $tab_key === 'vip') {
|
if (in_array((string) $tab_key, ['vip', 'orders'], true)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in new issue
Block a user