Zibll 主线收口:统一 single 并清退 compat 资源路径

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-07-09 20:30:49 +08:00
co-authored by Claude
parent 0a6f97af21
commit 09f1eec909
26 changed files with 158 additions and 1325 deletions
@@ -244,16 +244,14 @@ trait AKSRT_Scripts_Part_2 {
}
/**
* Resolve public route URLs from the current canonical page-template ownership.
* Resolve public route URLs from the rebuilt mainline ownership.
*
* @return array<string, string>
*/
private function resolve_frontend_routes(): array {
return [
'messages' => $this->resolve_template_page_url('templates/pages/page-messages.php', '/messages/'),
'cart' => $this->resolve_template_page_url('templates/pages/page-cart.php', '/cart/'),
'orders' => $this->resolve_template_page_url('templates/pages/page-orders.php', '/orders/'),
'download' => $this->resolve_template_page_url('templates/pages/page-download.php', '/download/'),
'resources' => home_url('/resources/'),
];
}