Skip to content

Commit c05b2dd

Browse files
authored
Merge branch 'master' into break-up-big-groups
2 parents 9ef2424 + c4b3324 commit c05b2dd

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

ngx-http-concat.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,6 @@ function concat_get_path( $uri ) {
168168
// url(relative/path/to/file) -> url(/absolute/and/not/relative/path/to/file)
169169
$buf = WPCOM_Concat_Utils::relative_path_replace( $buf, $dirpath );
170170

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-
178171
// The @charset rules must be on top of the output
179172
if ( 0 === strpos( $buf, '@charset' ) ) {
180173
preg_replace_callback(

0 commit comments

Comments
 (0)