[wp-hackers] Hook into load-styles.php / load-scripts.php "queue"?

Nathan Rice ncrice at gmail.com
Tue Dec 1 21:29:15 UTC 2009


Out of curiosity, why aren't scripts minified using load_scripts.php when
using wp_enqueue_script in a theme?

------------------
Nathan Rice
WordPress and Web Development
www.nathanrice.net | twitter.com/nathanrice


On Tue, Dec 1, 2009 at 4:25 PM, Otto <otto at ottodestruct.com> wrote:

> wp_enqueue_script is the correct way. The minify and compress stuff is
> automatically handled, if it is enabled.
>
> Just enqueue as normal, let WordPress deal with the rest.
>
> -Otto
> Sent from Memphis, TN, United States
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list