Misc fixes: cleanup templates and supporting updates

This commit is contained in:
Dwindi Ramadhana
2026-06-02 00:39:27 +07:00
parent df969b442d
commit dcdd6d8cac
6 changed files with 102 additions and 417 deletions

View File

@@ -338,7 +338,7 @@ class TemplateOverride
if (is_wc_endpoint_url('order-pay')) {
global $wp;
$order_id = $wp->query_vars['order-pay'];
wp_redirect($build_route('order-pay/' . $order_id), 302);
wp_redirect($build_route('checkout/pay/' . $order_id), 302);
exit;
}