Title: Problem with edit_plugins capability
Last modified: August 21, 2016

---

# Problem with edit_plugins capability

 *  Resolved [tzdk](https://wordpress.org/support/users/tzdk/)
 * (@tzdk)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/problem-with-edit_plugins-capability/)
 * Nice plugin but change in 1.0 about swapping `activate_plugins` with `edit_plugins`
   can give problems if there is
 * `define( 'DISALLOW_FILE_EDIT', TRUE );`
 * in wp-config.php
 * Menu entry wont get inserted.
 * Think I have seen same problem in other plugins, but not sure what fix is. Not
   using that capability I guess will work 🙂
 * Codex agrees [http://codex.wordpress.org/Editing_wp-config.php#Disable_the_Plugin_and_Theme_Editor](http://codex.wordpress.org/Editing_wp-config.php#Disable_the_Plugin_and_Theme_Editor)
 * > Plugin authors should avoid checking for this capability, or at least check
   > if this constant is set and display an appropriate error message. Be aware 
   > that if a plugin is not working this may be the cause.
 * [http://wordpress.org/plugins/plugin-protector/](http://wordpress.org/plugins/plugin-protector/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [uamv](https://wordpress.org/support/users/uamv/)
 * (@uamv)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/problem-with-edit_plugins-capability/#post-4506217)
 * Thank you for the note. I’ll have to switch this back. Didn’t research the capability
   well enough. Was hoping to plan for future development with this switch. Guess
   not this way. Thanks, again!

Viewing 1 replies (of 1 total)

The topic ‘Problem with edit_plugins capability’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/plugin-protector_ebebeb.svg)
 * [Plugin Protector](https://wordpress.org/plugins/plugin-protector/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/plugin-protector/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/plugin-protector/)
 * [Active Topics](https://wordpress.org/support/plugin/plugin-protector/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/plugin-protector/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/plugin-protector/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [uamv](https://wordpress.org/support/users/uamv/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/problem-with-edit_plugins-capability/#post-4506217)
 * Status: resolved