Fix for IPN in WP 4.0
-
These fixes have my IPN coming through on WP 4.0
IN donate-plus.php change the following code
line 323
OLD<?php echo str_replace(ABSPATH, trailingslashit(get_option('siteurl')), dirname(__FILE__)).'/paypal.php';?>
NEW
<?php _e('https://www.YOUR-SITES-URL.com/wp-content/plugins/donate-plus/paypal.php','dplus');?>
line 395
OLD $notify = str_replace(ABSPATH, trailingslashit(get_option(‘siteurl’)), dirname(__FILE__)).’/paypal.php’;NEW $notify = ‘https://www.YOUR-SITES-URL.com/wp-content/plugins/donate-plus/paypal.php’;
—-
IN paypal.php
line 30
OLD require(“../../../wp-blog-header.php”);NEW require(“../../../wp-load.php”);
Hope that helps people out ??
- The topic ‘Fix for IPN in WP 4.0’ is closed to new replies.