[wp-hackers] Plugin dependency checking

scribu scribu at gmail.com
Thu Jun 11 11:56:08 GMT 2009


Interesting solution. The bigger problem, at least for me, is the graceful
exit, i.e. how to let the user know why one or more plugins aren't working
and what to do next.

If you have a lot of dependant plugins, you end up copying the same code
over and over again, so the less code you have to write for a graceful exit,
the better.

This is why I think 1 or two functions added to core would help. Something
like

plugin_dependency_warning($plugin, $version = '0');

--
http://scribu.net


More information about the wp-hackers mailing list