Skip to content

Commit

Permalink
Merge pull request #1422 from angelleye/PFW-561-kcpp
Browse files Browse the repository at this point in the history
Compatibility: Plugin conflicts with W3 Total Cache, PFW-561
  • Loading branch information
kcppdevelopers committed Feb 3, 2020
2 parents fc952c5 + 781fa49 commit fa76f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paypal-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down

0 comments on commit fa76f78

Please sign in to comment.