[wp-hackers] What Should A Plugin Author Do To Make Plugins Extensible?

Andrew Nacin wp at andrewnacin.com
Tue Aug 31 04:06:41 UTC 2010


On Mon, Aug 30, 2010 at 10:27 PM, Mike Schinkel <mikeschinkel at newclarity.net
> wrote:

> On Aug 30, 2010, at 10:06 PM, Raj wrote:
> > Wish there was some way to resolve dependencies in Wordpress. For
> example, a
> > plugin that works depending on WP-eCommerece when installed, should
> prompt
> > the user of a missing dependency and offer to automatically install it.
> Has
> > this ever been considered before?
>
> Considered, and discussed ad-nausem (search the archives.) With no
> resolution.
>

There's been a resolution. The core developers are in agreement [1] that the
existing hook structure is more than adequate for a dependencies system, if
not ideal.

[1] http://core.trac.wordpress.org/ticket/11308 complete with code examples
and suggested best practices for plugins that are dependencies and will be
dependencies.


More information about the wp-hackers mailing list