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:
2026-07-25 16:33:19 +08:00
@@ -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;
}
?>