WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form
[resolved] Can't edit plugin settings when theme editing is disabled (4 posts)

  1. J.D. Grimes
    Member
    Posted 1 year ago #

    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/

  2. bestwebsoft
    Member
    Plugin Author

    Posted 10 months ago #

    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

  3. J.D. Grimes
    Member
    Posted 10 months ago #

    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.

  4. bestwebsoft
    Member
    Plugin Author

    Posted 9 months ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.