Don't work "One minify string will contain" with css
-
Option “One minify string will contain” don’t work in bwp minify 1.2.2 with css.
I think you must fix this in class-bwp-minify.php:
replace this:$this->append_minify_string($this->styles, $queued, $src, $count == $total, true, 'styles'); // If this style has support for rtl language and the locale is rtl, // we will have to append the rtl stylesheet also if ('rtl' === $wp_styles->text_direction && isset($the_style->extra['rtl']) && $the_style->extra['rtl']) $this->append_minify_string($this->styles, $queued, $this->rtl_css_href($handle), $count == $total, false, 'styles');with:
$this->append_minify_string($this->styles, $queued, $src, $count == $total, false, 'styles'); // If this style has support for rtl language and the locale is rtl, // we will have to append the rtl stylesheet also if ('rtl' === $wp_styles->text_direction && isset($the_style->extra['rtl']) && $the_style->extra['rtl']) $this->append_minify_string($this->styles, $queued, $this->rtl_css_href($handle), $count == $total, true, 'styles');
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Don't work "One minify string will contain" with css’ is closed to new replies.