[wp-hackers] Plugins: Best practice for conditional loading of actions and file includes

Ade Walker photofantaisie at gmail.com
Sat Feb 6 16:03:12 UTC 2010


2010/2/5 Otto <otto at ottodestruct.com>

> Both, actually. No plugin should *ever* load wp-load directly. It's
> never, ever, necessary; it's sloppy programming style; and it's bad
> practice. However, it is often quick and easy to understand for some
> authors, so it does happen a fair amount. Still, it shouldn't be
> there, and any plugin you find with it should be fixed to not require
> it any more.
>
> Feel free to pass anybody you find doing this my email, and I'll tell
> them how to fix their plugin. :)
>

Otto,

Would you care to share on this list? Or can I contact you off line?

Thanks.


More information about the wp-hackers mailing list