refactor: move user-center My Orders into My Services section
The standalone order card is folded into the 我的服务 (My Services) sidebar section: 我的订单 becomes a service-grid tile (all orders), with the 待支付/售后 quick shortcuts rendered beneath it as a compact row. Gated on the orders dashboard tab being registered so no dead tile appears when the payment stack is absent.
This commit is contained in:
1 parent
2cc198ada9
commit
16fdeceaf7
4 files changed
+37
-25
No files matched your search
@@ -11,7 +11,6 @@ $context = is_array($args['context'] ?? null) ? $args['context'] : [];
|
||||
extract($context, EXTR_SKIP); // phpcs:ignore WordPress.PHP.DontExtract.extract_extract
|
||||
|
||||
require __DIR__ . '/sidebar-stats.php';
|
||||
require __DIR__ . '/sidebar-orders.php';
|
||||
require __DIR__ . '/sidebar-commerce.php';
|
||||
require __DIR__ . '/sidebar-creator.php';
|
||||
require __DIR__ . '/sidebar-nav.php';
|
||||
|
||||
Reference in new issue
Block a user