Combine CSS bug with path-absolute URLs?
-
If I have a CSS file with something like the following:
.header { background:url(/wp-content/uploads/2019/11/bg.jpg) }When it gets combined, it will turn into something like the following:
.header { background:url(https://example.org/wp-content/themes/mytheme//wp-content/uploads/2019/11/bg.jpg)) }I had a look at the code and it looks like the function
get_style_content_with_replacementsin Combinator.php doesn’t treat path-absolute-URL strings correctly. I think these should be treated the same way as you treat absolute URL strings (ie. left alone).
The topic ‘Combine CSS bug with path-absolute URLs?’ is closed to new replies.