diff --git a/includes/wc-template-functions.php b/includes/wc-template-functions.php index c2ccd854a7b..9d332c034a3 100644 --- a/includes/wc-template-functions.php +++ b/includes/wc-template-functions.php @@ -2429,7 +2429,8 @@ if ( ! function_exists( 'woocommerce_order_again_button' ) ) { } wc_get_template( 'order/order-again.php', array( - 'order' => $order, + 'order' => $order, + 'order_again_url' => wp_nonce_url( add_query_arg( 'order_again', $order->get_id(), wc_get_cart_url() ), 'woocommerce-order_again' ), ) ); } }