When using this plugin on a server hosted in Windows, line 88 in lib/Stylesheet.class.php is not able to execute for two reasons:
$this->stylesheet->src returns a url on my machine, which contains '/', but the search term is looking for DIRECTORY_SEPARATOR, which on my machine is \
On a machine where DIRECTORY_SEPARATOR is \, preg_replace won't even be able to run, as the \ characters in the search term aren't escaped.
@pixelbart's pull request #124 largely fixes this issue, but still results in a warning appearing from the unescaped \
When using this plugin on a server hosted in Windows, line 88 in
lib/Stylesheet.class.php
is not able to execute for two reasons:$this->stylesheet->src
returns a url on my machine, which contains '/', but the search term is looking forDIRECTORY_SEPARATOR
, which on my machine is\
DIRECTORY_SEPARATOR
is\
,preg_replace
won't even be able to run, as the\
characters in the search term aren't escaped.@pixelbart's pull request #124 largely fixes this issue, but still results in a warning appearing from the unescaped
\
I believe this is the same error mentioned by Kari Sharp on the WordPress support forums.