Adding Capability for Wordfence to non-admin users.
-
Hello All,
I am wanting to add capability for Wordfence (https://www.ads-software.com/plugins/wordfence/) to non-admin users.So far this is what I have found/tried.
The wordfence.php file calls for two files:
File Number 1: wordfenceConstants.php
require_once(‘lib/wordfenceConstants.php’);
From what I can tell the “Constants” file is 11 lines long and defines a few wordpress related items. To my knowledge nothing regarding users.
File Number 2: wordfenceClass.php
require_once(‘lib/wordfenceClass.php’);
To me it appears this file should contain the information related to capabilities.
I tired adding “update_core” , “admin_init” , “is_admin”, and “manage_options”.All of those were unsuccessful in allowing an non-admin access to the plugin.
Any thoughts, comments, feed back would be much appreciated.
Thank you in advance for your help in this matter.Regards,
Chevy
P.S. Keep up the good work on the plugin!https://www.ads-software.com/extend/plugins/user-role-editor/
- The topic ‘Adding Capability for Wordfence to non-admin users.’ is closed to new replies.