WordPress.org

Ready to get started?Download WordPress

Forums

Dynamic Widgets
[resolved] switch_themes and edit_theme_options (2 posts)

  1. Steve Taylor
    Member
    Posted 3 years ago #

    Great plugin, I use it a lot - thanks.

    I've just come across one problem. I've used the Members plugin to create a "Super Editor" role, which has all the capabilities of a normal editor, plus stuff like manage_options and edit_theme_options. Lets clients manage their sites fully without giving them access to risky (for them) techie stuff.

    But it seems that even though they can manage widgets (because /wp-admin/widgets.php uses the capability edit_theme_options to check against), they can't use Dynamic Widgets. I think this is because you've set the capability for your add_submenu_page call to switch_themes.

    Could this be changed to edit_theme_options? It seems more appropriate.

    http://wordpress.org/extend/plugins/dynamic-widgets/

  2. Qurl
    Member
    Plugin Author

    Posted 3 years ago #

    Hi Steve,

    Yes, I agree on that. Will be changed in the next version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic