Plugin Dependencies
Disable rather than deactivate? (2 posts)

  1. Jason Judge
    Posted 2 years 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.


  2. scribu
    Plugin Author

    Posted 2 years 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Plugin Dependencies
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.