Skip to content

Commit

Permalink
Fixed: escaping bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan0sz committed Jul 25, 2024
1 parent 3226893 commit 0ecc779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Frontend/Process.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ function ( $variant ) use ( $preloads_stylesheet, $font_id ) {
$url = "$url?ver=$timestamp";

echo wp_kses(
"<link id='omgf-preload-$i' rel='preload' href='$url'as='font' type='font/woff2' crossorigin />\n",
"<link id='omgf-preload-$i' rel='preload' href='$url' as='font' type='font/woff2' crossorigin />\n",
self::PRELOAD_ALLOWED_HTML
);

Expand Down

0 comments on commit 0ecc779

Please sign in to comment.