PluginProbe
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance / 4.7.0
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance v4.7.0
4.7.0 4.6.1 4.6.0 4.5.5 4.5.4 4.5.3 4.5.2 3.2.20 3.2.21 3.2.22 3.2.3 3.2.5 3.2.6 3.2.7 3.2.9 3.3.0 3.3.1 3.3.2 3.4.0 3.4.1 3.4.2 3.5.0 3.6.0 3.7.0 3.7.1 All 111 releases
← All changes | vendor/mrclay/minify/lib/Minify/CSS/Compressor.php +1 -1 3.2.3 → 4.7.0 View file →
@@ -258,9 +258,9 @@
258 258 protected function _fontFamilyCB($m)
259 259 {
260 260 // Issue 210: must not eliminate WS between words in unquoted families
261 261 $flags = PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY;
262 - $pieces = preg_split('/(\'[^\']+\'|"[^"]+")/', $m[1], null, $flags);
262 + $pieces = preg_split('/(\'[^\']+\'|"[^"]+")/', $m[1], -1, $flags);
263 263 $out = 'font-family:';
264 264
265 265 while (null !== ($piece = array_shift($pieces))) {
266 266 if ($piece[0] !== '"' && $piece[0] !== "'") {