From: kurund Date: Fri, 17 Apr 2015 05:59:18 +0000 (-0700) Subject: CRM-15629, comment clarification X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e401f13c33c0c17574bade5d4e3ee4874fa1c631;p=civicrm-core.git CRM-15629, comment clarification ---------------------------------------- * CRM-15629: Paypal IPN not working on Wordpress the first time https://issues.civicrm.org/jira/browse/CRM-15629 --- 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; }