WordPress.org

Ready to get started?Download WordPress

Forums

Plugin Dependencies
Disable rather than deactivate? (2 posts)

  1. Jason Judge
    Member
    Posted 10 months ago #

    When a dependency plugin is deactivated, plugins that require it are also deactivated.

    Is there any way that those plugins can be disabled rather than deactivated? I guess it would involve preventing the plugin from actually loading. Keeping it with an activated status will help when upgrading plugins and when deactivating plugins by accident and not realising other plugins have been permanently deactivated.

    It may not be possible, but it's a thought.

    http://wordpress.org/extend/plugins/plugin-dependencies/

  2. scribu
    Member
    Plugin Author

    Posted 10 months ago #

    It would be possible to prevent loading a plugin without deactivating it if you moved Plugin Dependencies to the mu-plugins dir and hooked into pre_option_active_plugins.

    That said, I'm not really interested on working on this anymore. I found Composer and wpackagist.org.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.