----------------------------------------
* CRM-15629: Paypal IPN not working on Wordpress the first time
https://issues.civicrm.org/jira/browse/CRM-15629
// During some extern/* calls we don't bootstrap CMS hence
// below constants are not set. In such cases, we don't need to
// check permission, hence directly return TRUE
- if (!defined('ABSPATH') || !defined('WPINC')) {
- return TRUE;
- }
-
if (!defined(ABSPATH) || !defined(WPINC)) {
require_once 'CRM/Utils/System.php';
CRM_Utils_System::loadBootStrap();