From 4a2c8ef23d641fffefa70c786841ef06af3023e9 Mon Sep 17 00:00:00 2001 From: Paystack IT Date: Thu, 23 Jun 2022 15:06:34 +0100 Subject: [PATCH] fix: change MP_PAYSTACK_PATH to use plugin-memberpress-master --- main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.php b/main.php index 59354ac..f30dbb5 100644 --- a/main.php +++ b/main.php @@ -24,7 +24,7 @@ define('MP_PAYSTACK_PLUGIN_SLUG', 'paystack-memberpress/main.php'); define('MP_PAYSTACK_PLUGIN_NAME', 'paystack-memberpress'); define('MP_PAYSTACK_EDITION', MP_PAYSTACK_PLUGIN_NAME); - define('MP_PAYSTACK_PATH', WP_PLUGIN_DIR . '/' . MP_PAYSTACK_PLUGIN_NAME); + define('MP_PAYSTACK_PATH', WP_PLUGIN_DIR . '/' . 'plugin-memberpress-master'); $mp_paystack_url_protocol = (is_ssl()) ? 'https' : 'http'; // Make all of our URLS protocol agnostic define('MP_PAYSTACK_URL', preg_replace('/^https?:/', "{$mp_paystack_url_protocol}:", plugins_url('/' . MP_PAYSTACK_PLUGIN_NAME)));