Commit Graph

12 Commits

Author SHA1 Message Date
Andrew Ozz
4d58681aa4 Improvements to the script loader: allows plugins to queue scripts for the front end head and footer, adds hooks for server side caching of compressed scripts, adds support for ENFORCE_GZIP constant (deflate is used by default since it's faster), see #8628, fixes #8884
git-svn-id: https://develop.svn.wordpress.org/trunk@10442 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-26 12:59:10 +00:00
Andrew Ozz
97839ac498 Let plugins register footer scripts easier and add filters to the concatenating functions
git-svn-id: https://develop.svn.wordpress.org/trunk@10367 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-15 19:50:23 +00:00
Andrew Ozz
f36563c215 Add action hook in admin footer so plugins can output scripts there on specific pages only, props GamerZ, fixes #8859
git-svn-id: https://develop.svn.wordpress.org/trunk@10362 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-15 00:08:20 +00:00
Andrew Ozz
bdf9472e38 Remove unused var
git-svn-id: https://develop.svn.wordpress.org/trunk@10358 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-14 14:40:08 +00:00
Andrew Ozz
22eddf34d2 Split the script queue in head and footer part, concatenate and compress the default js and css, first run, see #8628
git-svn-id: https://develop.svn.wordpress.org/trunk@10357 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-14 14:18:51 +00:00
Andrew Ozz
274079e8d4 Fix external dependencies in class.wp-scripts.php, fixes #8505
git-svn-id: https://develop.svn.wordpress.org/trunk@10135 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 02:50:28 +00:00
Peter Westwood
24f1c22adf Move convertEntities js function into the BackPress scriptloader. Fixes #8505 props sambauers.
git-svn-id: https://develop.svn.wordpress.org/trunk@10086 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-06 09:54:24 +00:00
Andrew Ozz
2f23018db2 Filter HTML entities when inserting strings with js, includes patch by nbachiyski, fixes #8254
git-svn-id: https://develop.svn.wordpress.org/trunk@9809 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-20 10:54:59 +00:00
Peter Westwood
81cec198a1 phpdoc updates for wp-includes See #7550 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@9002 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-27 10:06:18 +00:00
Ryan Boren
0fba0a6d4a Introduce content_url(). Don't prepend base url to content url in script loader. see #6938 #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8301 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-09 17:24:36 +00:00
Ryan Boren
ce3388a5ea Add wp_default_styles(), convert wp_admin_css(). Props mdawaffe. see #7011
git-svn-id: https://develop.svn.wordpress.org/trunk@7976 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-21 23:24:23 +00:00
Ryan Boren
6fad8c567f Style loader from mdawaffe. see #7011
git-svn-id: https://develop.svn.wordpress.org/trunk@7970 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-21 05:56:04 +00:00