Zibll 主线收口:统一 single 并清退 compat 资源路径
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -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/'),
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user