Misc fixes: cleanup templates and supporting updates
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user