David
Newbie
Just Getting Started
Member Likes (0)
I am using another plugin called "Admin Menu Editor" to allow Editors to access the settings and subscriptions pages for the Subscribe by Email plugin. When I change the permissions on the menu, the "Nice Try" page displays. Is there a way to make these pages available to non-admins?
Can I revise the following code and just change 'manage_options' to another role that editors do have access to? If so, what implications will this have. I am sure this code is here for another reason.
Line 1014-1016:
if(!current_user_can('manage_options')) {
echo "<p>" . __('Nice Try...') . "</p>"; //If accessed properly, this message doesn't appear.
return;
Responses (4)
Lead Developer (joined May 2009) Likes (0)
You can but that's a core mod. Better to use one of the many role manager plugins out there to give editors the 'manage_options' role.
Member (joined December 2009) Likes (0)
Thanks for the quick reply. Manage_options gives them access to other things I don't want them to have. I'll look at it some more and determine what I should do unless you have any other suggestions.
btw, this is THE most user friendly subscription plugin out there. Thanks for making it available!
Lead Developer (joined May 2009) Likes (0)
I didn't realize you were talking about our Subscribe by Email plugin, you didn't mention it at all ;-).
You can go ahead and change that line in the plugin then. I thought you were talking about core settings page.
Member (joined December 2009) Likes (0)
Ah! My bad. Sorry. I have since updated my initial post to reference the plugin...for the sake of any others who may have the same question. Thanks Aaron!
WordPress Questions?
We've got answers!
Find out more »