Editors should have access to the plugin
-
Hey, guys!
First of all I’d like to congratulate those involved in developing this amazing plugin: great job!
I have 2 suggestions though.
First is about the capability required to access the plugin page.
I think it shouldn’t be only accessible by administrators but by editors as well.
To change that, simply replace the folowing:
add_management_page(__('Manage Acronyms', $domain), __('Acronyms', $domain), "manage_options", __FILE__, array('Acronyms', 'manage_acronyms'));
by
add_management_page(__('Manage Acronyms', $domain), __('Acronyms', $domain), "edit_others_posts", __FILE__, array('Acronyms', 'manage_acronyms'));
Another thing is the position of the plugin in the admin menu.
I don’t think Tools is the proper place.
It’d be great and make the plugin much more accessible if it was located as an independent menu.
To do that, just replaceadd_management_page
byadd_menu_page
and change the $parent_file variable to use admin.php page instead.Thanks and kudos for this great plugin!
- The topic ‘Editors should have access to the plugin’ is closed to new replies.