Quantcast
Channel: WordPress.org Forums » [Autoptimize] Support
Viewing all articles
Browse latest Browse all 14094

futtta on "[Plugin: Autoptimize] Confict with Dynamic To Top"

$
0
0

Darn, there's a bug in the bugfix ...

The correct code is;

//Minify
if (class_exists('Minify_CSS_Compressor')) {
	// legacy
	$tmp_code = trim(Minify_CSS_Compressor::process($code));
} else if(class_exists('CSSmin')) {
	$cssmin = new CSSmin();
	if (method_exists($cssmin,"run")) {
		$tmp_code = trim($cssmin->run($code));
	}
}

sorry about that :-)


Viewing all articles
Browse latest Browse all 14094

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>