[wp-hackers] Plugin dependency checking

Burt Adsit burt at ourcommoninterest.org
Thu Jun 11 15:03:42 GMT 2009


Well, ya but there's a catch 22 there. Without having bp loaded I can't 
check for the bp plugin dir const. The plugin has to tell me those 
things. If it's loaded I don't have to, if it isn't I can't. :)

scribu wrote:
> Btw, I noticed you have to hardcode 'buddypress/bp-loader.php'.
>
> It's a ((minor) problem because if either the buddypress folder is renamed
> or bp-loader.php is replaced with something else, the dependant plugin will
> break.
>
>   

-- 
Code Is Freedom
Burt Adsit



More information about the wp-hackers mailing list