From 1e0dd3bb791094118d73ceaa490a56b4986e570d Mon Sep 17 00:00:00 2001 From: Joe Dolson Date: Fri, 24 Nov 2023 22:48:59 -0600 Subject: [PATCH] Unused variable --- src/mt-cart.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mt-cart.php b/src/mt-cart.php index b1fe6ec9..b18b95ec 100644 --- a/src/mt-cart.php +++ b/src/mt-cart.php @@ -650,7 +650,6 @@ function mt_gateways() { $selector = ''; $options = array_merge( mt_default_settings(), get_option( 'mt_settings', array() ) ); $enabled = $options['mt_gateway']; - $url = get_permalink( $options['mt_purchase_page'] ); if ( 1 === count( $enabled ) ) { return ''; } else {