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

Frank Goossens on "[Plugin: Autoptimize] 1.9.2 concatenated js, but 1.9.3 does not (for me)"

$
0
0

Hi Peter; if you would happen to have 1.9.3 still installed, can you try the following change;

op up classes/autoptimizeScripts.php and on line 20 change

$noptimizeJS = apply_filters( 'autoptimize_filter_js_noptimize', false, $this->content );
     if ($noptimizeJS)
             return false;

into

/* $noptimizeJS = apply_filters( 'autoptimize_filter_js_noptimize', false, $this->content );
     if ($noptimizeJS)
             return false;
*/

this deactivates that code and, if this is the reason for the fact that not JS is concatenated, should fix that problem. if it does work I'll get back with updated code for you to try (if you want, off course).

frank


Viewing all articles
Browse latest Browse all 14094

Trending Articles



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