Skip to content

Commit 7942922

Browse files
authored
Improve LCP
1 parent d90c896 commit 7942922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugin/BlockPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ protected function removeLoadingLazyAttributeFromFirstNImages(string $html, int
197197

198198
$newHtmlTag = str_replace(
199199
['loading="lazy"', '<img '],
200-
['', '<img mfdislazy="1" '],
200+
['', '<img mfdislazy="1" fetchpriority="high" '],
201201
$htmlTag
202202
);
203203

0 commit comments

Comments
 (0)