Skip to content

Commit

Permalink
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions inc/lazyload_replacer.php
Original file line number Diff line number Diff line change
@@ -91,11 +91,13 @@ public function lazyload_tag_replace( $new_tag, $original_url, $new_url, $optml_
[
$original_url,
'src=',
'srcset=', //Not ideal to disable srcset, we should aim to remove the srcset completely from code.
],
array(
[
$low_url,
$opt_src . ' src=',
),
'old-srcset='
],
$new_tag
);

0 comments on commit 76c0307

Please sign in to comment.