From cf39ce67e3b0df4fede7b62514f1257912877216 Mon Sep 17 00:00:00 2001 From: Kevin Cristiano Date: Tue, 2 Feb 2016 12:01:38 -0700 Subject: [PATCH] CRM-17593 -Update comment for change from role based permission to capabilties based permissions ---------------------------------------- * CRM-17593: Certain Permissions are hard coded to 'Administrator' in CRM_Core_Permission_WordPress https://issues.civicrm.org/jira/browse/CRM-17593 --- 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 b0ecd5b11e..4de5a0e539 100644 --- a/CRM/Core/Permission/WordPress.php +++ b/CRM/Core/Permission/WordPress.php @@ -47,7 +47,7 @@ class CRM_Core_Permission_WordPress extends CRM_Core_Permission_Base { * true if yes, else false */ public function check($str) { - // Generic cms 'administer users' role tranlates to 'administrator' WordPress role + // Generic cms 'administer users' role tranlates to users with the 'edit_users' capability' in WordPress $str = $this->translatePermission($str, 'WordPress', array( 'administer users' => 'edit_users', )); -- 2.25.1