From 781fa4982e8fddda7fa06a0ffbf7b129a6fd0a98 Mon Sep 17 00:00:00 2001 From: kcppdevelopers Date: Mon, 3 Feb 2020 14:25:09 +0530 Subject: [PATCH] Compatibility: Plugin conflicts with W3 Total Cache, PFW-561 --- paypal-for-woocommerce.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paypal-for-woocommerce.php b/paypal-for-woocommerce.php index c94d9f7d7..fa8cd79c5 100644 --- a/paypal-for-woocommerce.php +++ b/paypal-for-woocommerce.php @@ -254,7 +254,7 @@ function admin_notices() { $pp_settings['enabled'] = !empty($pp_settings['enabled']) ? $pp_settings['enabled'] : ''; $pp_standard['enabled'] = !empty($pp_standard['enabled']) ? $pp_standard['enabled'] : ''; $pp_settings['paypal_marketing_solutions_cid_production'] = !empty($pp_settings['paypal_marketing_solutions_cid_production']) ? $pp_settings['paypal_marketing_solutions_cid_production'] : ''; - if(isset($_GET['page']) && $_GET['page'] = 'wc-settings' ) { + if(isset($_GET['page']) && $_GET['page'] == 'wc-settings' ) { if ((!empty($pp_pro['enabled']) && $pp_pro['enabled'] == 'yes') || ( !empty($pp_payflow['enabled']) && $pp_payflow['enabled']=='yes' )) { // Show message if enabled and FORCE SSL is disabled and WordpressHTTPS plugin is not detected if ( !is_ssl() && !get_user_meta($user_id, 'ignore_pp_ssl'))