[wp-hackers] fixes for old versions

TobiasBg wp-hackers at tobias.baethge.com
Sat Jan 9 09:58:48 UTC 2010


> > * Is it hooking cleanly into WordPress?
> Just curious if you could give some examples and counter-examples of that criteria?

I would think, things like:
hooking into the correct action hooks to insert CSS and JS (on both backend and frontend),
(counter-example: NOT on all admin pages),
loading a textdomain only when necessary,
maybe separate frontend and backend code,
use APIs where available and possible (i.e. especially for DB interaction),
maybe use a class to remedy function naming conflicts,


More information about the wp-hackers mailing list