bad choice for capability?
On line 126 of dynamic-widgets.php, where
add_submenu_pageis used, the capability required for the plugin’s settings page is
The majority of the sites I build have completely custom themes, and because switching theme would effectively break the whole site, I reserve this capability for Admins. I grant the Editor permission to manage site options, but not to install plugins, switch themes, etc. Only this means that with Dynamic Widgets, I have to grant them the ability to switch themes in order for them to set Dynamic Widgets settings.
edit_theme_options(1) solve my problem, and (2) be a more logical choice anyway? Or perhaps create a
- The topic ‘bad choice for capability?’ is closed to new replies.