Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

WordPress plugin dependency management.

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

=== Plugin Dependencies ===
Contributors: scribu
Tags: plugin, dependency
Requires at least: 3.1
Tested up to: 3.3
Stable tag: 1.2
License: GPLv2 or later
License URI:

Plugin dependency management

== Description ==

This meta-plugin allows regular plugins to specify other plugins that they depend upon.


Plugin Name: BuddyPress Debug
Depends: BuddyPress, Debug Bar

What this does:

* Disables activation of *BuddyPress Debug* until both *BuddyPress* and *Debug Bar* are already activated.
* When either *BuddyPress* or *Debug Bar* are deactivated, *BuddyPress Debug* will also be deactivated.

Links: [Plugin News]( | [Author's Site](

== Frequently Asked Questions ==

= Error on activation: "Parse error: syntax error, unexpected..." =

Make sure your host is running PHP 5. The only foolproof way to do this is to add this line to wp-config.php (after the opening `<?php` tag):


= What happens if a user doesn't have Plugin Dependencies installed? =

Nothing. The *Depends:* header will simply be ignored.

= Can I have grand-child plugins? =

Yes, the dependency chain can go as deep as you want.

= Defining virtual packages =

Say you have some useful functions that you would like to package up as a library plugin:

Plugin Name: Facebook Lib
Provides: lib-facebook

Now, dependant plugins can specify 'lib-facebook' as a dependency:

Plugin Name: Cool Facebook Plugin
Depends: lib-facebook

Besides being more robust, the *Provides:* header allows multiple plugins to implement the same set of functionality and be used interchangeably.

== Screenshots ==

1. Activation prevention
2. Cascade deactivation

== Changelog ==

= 1.2 =
* added ability to use plugin names as dependencies
* [more info](

= 1.1 =
* added 'Provides:' header
* replaced 'Dependencies:' with 'Depends:'
* [more info](

= 1.0.1 =
* fixed critical bug when not running MultiSite
* better network activation handling

= 1.0 =
* initial release
* [more info](

Something went wrong with that request. Please try again.