• 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.

    https://www.ads-software.com/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:
    https://codex.www.ads-software.com/Roles_and_Capabilities

    Kind regards,
    Support Team

    Thread Starter J.D. Grimes

    (@jd55)

    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 ‘Can't edit plugin settings when theme editing is disabled’ is closed to new replies.