fix(uc): drop 我的订单 from 我的服务; keep under 权益与消费

This commit is contained in:
2026-07-25 16:31:43 +08:00
parent 6abcdf65e0
commit a93aab991e
@@ -13,8 +13,8 @@ defined('ABSPATH') || exit;
<div class="uc-sidebar__title"><?php esc_html_e('我的服务', 'aksrt'); ?></div>
<div class="uc-sidebar__buttons">
<?php foreach ($dashboard_tabs as $tab_key => $tab) :
// VIP only under 权益与消费 (sidebar-commerce), not duplicated here.
if ((string) $tab_key === 'vip') {
// VIP / 订单 only under 权益与消费 (sidebar-commerce), not duplicated here.
if (in_array((string) $tab_key, ['vip', 'orders'], true)) {
continue;
}
?>