[wp-hackers] Plugin dependency checking

scribu scribu at gmail.com
Fri Jun 12 00:37:25 GMT 2009


>
> Am I correct that you guys were not thinking about automatic download but
> instead just error checking to ensure that the depended plugin is currently
> installed.
>

Yes, I was thinking about auto-installing, but I wasn't thinking about
plugins not hosted on WP Extend.

A solution might be something like this:

$dependencies = array(
  'Akismet' => array('version' => '1.0'),
  'Other plugin not on extend' => array('version' => '1.0', 'url' =>
'http://...')
);

For plugins not hosted on Extend, the child plugin would have to specify a
URL.


-- 
http://scribu.net


More information about the wp-hackers mailing list