Commit Graph

12 Commits

Author SHA1 Message Date
Andrew Ozz 8066de0726 Check if $_SERVER['HTTP_ACCEPT_ENCODING'] is set before determining whether to compress scripts, props nacin, fixes #11169
git-svn-id: https://develop.svn.wordpress.org/trunk@12214 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 09:46:07 +00:00
Mark Jaquith c638e8d8de _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Ryan Boren fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Ryan Boren 12c7093645 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@11013 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 18:18:39 +00:00
Andrew Ozz 3ca11d47c9 Disable PHP error reporting in gears-manifest.php, load-scripts.php and load-styles.php since they don't load wp-settings, fix some notices
git-svn-id: https://develop.svn.wordpress.org/trunk@10939 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-15 19:55:41 +00:00
Andrew Ozz 9b28447049 Correct ABSPATH in load-scripts.php, load-styles.php and gears-manifest.php, props hakre, fixes #9461
git-svn-id: https://develop.svn.wordpress.org/trunk@10871 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-05 03:32:49 +00:00
Ryan Boren 5d8651d6f3 gettext comments. Props nbachiyski. see #9112
git-svn-id: https://develop.svn.wordpress.org/trunk@10774 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-13 03:53:39 +00:00
Andrew Ozz 13d3219317 Detect when the server compresses output, see #8628
git-svn-id: https://develop.svn.wordpress.org/trunk@10476 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-01 09:45:24 +00:00
Andrew Ozz 6e7efb1d97 Support output_handler = ob_gzhandler in script/style compressor, props DD32, fixes #9000
git-svn-id: https://develop.svn.wordpress.org/trunk@10466 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-30 13:45:05 +00:00
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 8e68af3087 Use gzip instead of deflate as more servers seem to understand it, add separate switch for disabling CSS compression
git-svn-id: https://develop.svn.wordpress.org/trunk@10372 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-17 14:08:15 +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