Plugin Dependencies: Version 1.2

In previous versions of the plugin, to define a depedency to BuddyPress, you’d have to write:

Depends: buddypress/bp-loader.php

As a user pointed out, using the plugin path like that is not a good idea.

It turns out that there’s a much more stable piece of information that can be used to identify plugins with: their name. D’oh!

So now you can just write this instead:

Depends: BuddyPress

Besides being a lot more user-friendly, since plugin names rarely change, it’s more reliable as well. Win!

Of course, for super-formal specs, the Provides: header still works.

comments powered by Disqus