classes/autoptimizeScripts.php 1 location
|
@@ 146-148 (lines=3) @@
|
| 143 |
|
} |
| 144 |
|
|
| 145 |
|
// remove querystring from URL in newTag |
| 146 |
|
if ( !empty($explUrl[1]) ) { |
| 147 |
|
$newTag = str_replace("?".$explUrl[1],"",$newTag); |
| 148 |
|
} |
| 149 |
|
} |
| 150 |
|
|
| 151 |
|
// should we move the non-aggregated script? |
classes/autoptimizeStyles.php 1 location
|
@@ 182-184 (lines=3) @@
|
| 179 |
|
}
|
| 180 |
|
|
| 181 |
|
// remove querystring from URL
|
| 182 |
|
if ( !empty($explUrl[1]) ) {
|
| 183 |
|
$newTag = str_replace("?".$explUrl[1],"",$newTag);
|
| 184 |
|
}
|
| 185 |
|
|
| 186 |
|
// and replace
|
| 187 |
|
$this->content = str_replace($tag,$newTag,$this->content);
|