File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -813,7 +813,7 @@ static function minify( $cached ) {
813813 try {
814814 $ is_css = ( 'styles ' === $ type );
815815 if ( 'scripts ' === $ type ) {
816- require_once ( dirname (__FILE__ ) . '/minify/JS/JSMin .php ' );
816+ require_once ( dirname (__FILE__ ) . '/minify/JS/JSMinPlus .php ' );
817817 } elseif ( 'styles ' === $ type ) {
818818 require_once ( dirname (__FILE__ ) . '/minify/CSS/UriRewriter.php ' );
819819 require_once ( dirname (__FILE__ ) . '/minify/CSS/Compressor.php ' );
@@ -883,7 +883,7 @@ static function minify( $cached ) {
883883 // is the comment-reply.js in WordPress.
884884 if ( 'scripts ' === $ type ) {
885885 $ minified_contents = join ( "\n;; \n" , $ contents_for_each_dep );
886- $ minified_contents = JSMin ::minify ($ minified_contents );
886+ $ minified_contents = JSMinPlus ::minify ($ minified_contents );
887887 if ( false === $ minified_contents ) {
888888 throw new Dependency_Minification_Exception ( 'JavaScript parse error ' );
889889 }
You can’t perform that action at this time.
0 commit comments