WordPress.org

Support

Support » Plugins and Hacks » Contact Form by BestWebSoft » [Resolved] Can't edit plugin settings when theme editing is disabled

[Resolved] Can't edit plugin settings when theme editing is disabled

  • I have theme editing disabled on my site, and when I try to view the settings page, it tells me that I don’t have sufficient permissions, even though I am an admin. This is because the page is only displayed if the user can 'edit_themes'. When theme editing is disabled, then nobody can view the settings, no matter what capabilities they have. I think this is probably an unintended side effect, so I thought I should make you aware of it.

    http://wordpress.org/extend/plugins/contact-form-plugin/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author bestwebsoft

    @bestwebsoft

    Hello J.D. Grimes,

    Please see what the WordPress says about it:
    Only Administrators of single site installations have the following
    capabilities. In Multisite, only the Super Admin has these abilities:
    And the edit_themes are among them, i.e. you, as an admin, inhibited you to edit a theme? We are sorry, but in this case, it is necessary to change edit_themes’ to any other type exactly for you.
    Please check this article:
    http://codex.wordpress.org/Roles_and_Capabilities

    Kind regards,
    Support Team

    That is correct. I just don’t understand exactly why that particular capability was used. The plugin doesn’t actually edit the theme files, as far as I know. It’s not a big problem for me, I just wanted to make sure that you were aware of it.

    Plugin Author bestwebsoft

    @bestwebsoft

    Hello J.D. Grimes,

    Because, the menu is displayed in the plugin only if user (admin) can edit_themes. You can use another access level to the menu (it is relevant in your case, but edit_themes is enough for us.)

    Kind regards,
    Support Team

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Can't edit plugin settings when theme editing is disabled’ is closed to new replies.
Skip to toolbar