[wp-hackers] Including javascript in the footer

Andrew Nacin wp at andrewnacin.com
Fri May 13 04:43:56 UTC 2011


On Fri, May 13, 2011 at 12:11 AM, Casey Bisson <casey.bisson at gmail.com>wrote:

>
> I coded around the problem here:
>
>
> http://plugins.trac.wordpress.org/browser/bsuite/trunk/components/cms-widgets.php#L1966
>
> Look for late_enqueue_script().
>

Please prefix your functions.

If someone else on this list decides to try your functions, then the two
plugins will not be compatible. Prefixing functions makes it more obvious
that functions should be unique.

More: http://andrewnacin.com/2010/05/11/in-wordpress-prefix-everything/

Nacin


More information about the wp-hackers mailing list