Version Description
- bugfix: CSS in conditional comments was not excluded from aggregation as reported by Rolf and bottapress
Download this release
Release Info
Developer | futtta |
Plugin | Autoptimize |
Version | 1.8.1 |
Comparing to | |
See all releases |
Code changes from version 1.8.0 to 1.8.1
- autoptimize.php +2 -2
- classes/autoptimizeBase.php +1 -1
- readme.txt +4 -1
autoptimize.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Autoptimize
|
4 |
Plugin URI: http://blog.futtta.be/autoptimize
|
5 |
Description: Optimizes your website, concatenating the CSS and JavaScript code, and compressing it.
|
6 |
-
Version: 1.8.
|
7 |
Author: Frank Goossens (futtta)
|
8 |
Author URI: http://blog.futtta.be/
|
9 |
Domain Path: localization/
|
@@ -34,7 +34,7 @@ $conf = autoptimizeConfig::instance();
|
|
34 |
/* Check if we're updating, in which case we might need to do stuff and flush the cache
|
35 |
to avoid old versions of aggregated files lingering around */
|
36 |
|
37 |
-
$autoptimize_version="1.8.
|
38 |
$autoptimize_db_version=get_option('autoptimize_version','none');
|
39 |
|
40 |
if ($autoptimize_db_version !== $autoptimize_version) {
|
3 |
Plugin Name: Autoptimize
|
4 |
Plugin URI: http://blog.futtta.be/autoptimize
|
5 |
Description: Optimizes your website, concatenating the CSS and JavaScript code, and compressing it.
|
6 |
+
Version: 1.8.1
|
7 |
Author: Frank Goossens (futtta)
|
8 |
Author URI: http://blog.futtta.be/
|
9 |
Domain Path: localization/
|
34 |
/* Check if we're updating, in which case we might need to do stuff and flush the cache
|
35 |
to avoid old versions of aggregated files lingering around */
|
36 |
|
37 |
+
$autoptimize_version="1.8.1";
|
38 |
$autoptimize_db_version=get_option('autoptimize_version','none');
|
39 |
|
40 |
if ($autoptimize_db_version !== $autoptimize_version) {
|
classes/autoptimizeBase.php
CHANGED
@@ -81,7 +81,7 @@ abstract class autoptimizeBase
|
|
81 |
protected function hide_iehacks($iehacks_in) {
|
82 |
if ( strpos( $iehacks_in, '<!--[if' ) !== false ) {
|
83 |
$iehacks_out = preg_replace_callback(
|
84 |
-
'
|
85 |
create_function(
|
86 |
'$matches',
|
87 |
'return "%%IEHACK%%".base64_encode($matches[0])."%%IEHACK%%";'
|
81 |
protected function hide_iehacks($iehacks_in) {
|
82 |
if ( strpos( $iehacks_in, '<!--[if' ) !== false ) {
|
83 |
$iehacks_out = preg_replace_callback(
|
84 |
+
'#<!--\[if.*?\[endif\]-->#is',
|
85 |
create_function(
|
86 |
'$matches',
|
87 |
'return "%%IEHACK%%".base64_encode($matches[0])."%%IEHACK%%";'
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: css, html, javascript, js, optimize, speed, cache, data-uri, aggregate, mi
|
|
4 |
Donate link: http://blog.futtta.be/2013/10/21/do-not-donate-to-me/
|
5 |
Requires at least: 2.7
|
6 |
Tested up to: 3.8
|
7 |
-
Stable tag: 1.8.
|
8 |
|
9 |
Autoptimize speeds up your website and helps you save bandwidth by aggregating and minimizing JS, CSS and HTML.
|
10 |
|
@@ -121,6 +121,9 @@ You can report problems on the [wordpress.org support forum](http://wordpress.or
|
|
121 |
|
122 |
== Changelog ==
|
123 |
|
|
|
|
|
|
|
124 |
= 1.8.0 =
|
125 |
* New: Option to inline all CSS [as suggested by Hamed](http://wordpress.org/support/topic/make-style-sheet-inline)
|
126 |
* New: set of filters to provide a simple API to change Autoptimize behavior (e.g. replace "defer" with "async", disabling Autoptimization on certain pages, specificy non-aggregatable script to be moved after aggregated one (cfr. http://wordpress.org/support/topic/feature-request-some-extra-options?replies=14), size of image to be data-urized). More info in the included autoptimize_helper.php_example.
|
4 |
Donate link: http://blog.futtta.be/2013/10/21/do-not-donate-to-me/
|
5 |
Requires at least: 2.7
|
6 |
Tested up to: 3.8
|
7 |
+
Stable tag: 1.8.1
|
8 |
|
9 |
Autoptimize speeds up your website and helps you save bandwidth by aggregating and minimizing JS, CSS and HTML.
|
10 |
|
121 |
|
122 |
== Changelog ==
|
123 |
|
124 |
+
= 1.8.1 =
|
125 |
+
* bugfix: CSS in conditional comments was not excluded from aggregation as reported by [Rolf](http://www.finkbeiner-holz.de/) and [bottapress](http://www.wordpress-hebergement.fr/)
|
126 |
+
|
127 |
= 1.8.0 =
|
128 |
* New: Option to inline all CSS [as suggested by Hamed](http://wordpress.org/support/topic/make-style-sheet-inline)
|
129 |
* New: set of filters to provide a simple API to change Autoptimize behavior (e.g. replace "defer" with "async", disabling Autoptimization on certain pages, specificy non-aggregatable script to be moved after aggregated one (cfr. http://wordpress.org/support/topic/feature-request-some-extra-options?replies=14), size of image to be data-urized). More info in the included autoptimize_helper.php_example.
|