From 8b8897c8c643e129b06032390f8d145d66a9f621 Mon Sep 17 00:00:00 2001 From: kurund Date: Mon, 18 May 2015 12:08:12 +0530 Subject: [PATCH] CRM-15629, more cleanup ---------------------------------------- * CRM-15629: Paypal IPN not working on Wordpress the first time https://issues.civicrm.org/jira/browse/CRM-15629 --- CRM/Core/Permission/WordPress.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Permission/WordPress.php b/CRM/Core/Permission/WordPress.php index 8f7df4a9aa..2ab8a2eae2 100644 --- a/CRM/Core/Permission/WordPress.php +++ b/CRM/Core/Permission/WordPress.php @@ -62,7 +62,7 @@ class CRM_Core_Permission_WordPress extends CRM_Core_Permission_Base { // 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)) { + if (!defined('ABSPATH') || !defined('WPINC')) { require_once 'CRM/Utils/System.php'; CRM_Utils_System::loadBootStrap(); } -- 2.25.1