From e401f13c33c0c17574bade5d4e3ee4874fa1c631 Mon Sep 17 00:00:00 2001 From: kurund Date: Thu, 16 Apr 2015 22:59:18 -0700 Subject: [PATCH] CRM-15629, comment clarification ---------------------------------------- * CRM-15629: Paypal IPN not working on Wordpress the first time https://issues.civicrm.org/jira/browse/CRM-15629 --- CRM/Core/Permission/WordPress.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Core/Permission/WordPress.php b/CRM/Core/Permission/WordPress.php index 509a5897af..3f881137a3 100644 --- a/CRM/Core/Permission/WordPress.php +++ b/CRM/Core/Permission/WordPress.php @@ -59,8 +59,8 @@ 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, so those cases, we don't need to - // check permission, hence return TRUE + // 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; } -- 2.25.1