We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9ef2424 + c4b3324 commit c05b2ddCopy full SHA for c05b2dd
ngx-http-concat.php
@@ -168,13 +168,6 @@ function concat_get_path( $uri ) {
168
// url(relative/path/to/file) -> url(/absolute/and/not/relative/path/to/file)
169
$buf = WPCOM_Concat_Utils::relative_path_replace( $buf, $dirpath );
170
171
- // AlphaImageLoader(...src='relative/path/to/file'...) -> AlphaImageLoader(...src='/absolute/path/to/file'...)
172
- $buf = preg_replace(
173
- '/(Microsoft.AlphaImageLoader\s*\([^\)]*src=(?:\'|")?)([^\/\'"\s\)](?:(?<!http:|https:).)*)\)/isU',
174
- '$1' . ( $dirpath == '/' ? '/' : $dirpath . '/' ) . '$2)',
175
- $buf
176
- );
177
-
178
// The @charset rules must be on top of the output
179
if ( 0 === strpos( $buf, '@charset' ) ) {
180
preg_replace_callback(
0 commit comments