Skip to content

Commit

Permalink
Closes #7142: 3.18: data-wpr-hosted-gf-parameters sometimes isnot hav…
Browse files Browse the repository at this point in the history
…ing the original data structure with some templates (#7157)
  • Loading branch information
hanna-meda authored Dec 3, 2024
2 parents dce9cce + 94ce0d9 commit 09703c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion inc/Engine/Media/Fonts/Frontend/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ private function get_optimized_markup(
string $font_provider
): string {
$font_provider_path = sprintf( '%s/', $font_provider );
$gf_parameters = wp_parse_url( $original_url, PHP_URL_QUERY );

$original_url = html_entity_decode( $original_url, ENT_QUOTES );
$gf_parameters = wp_parse_url( $original_url, PHP_URL_QUERY );

/**
* Filters to enable the inline css output.
Expand Down

0 comments on commit 09703c4

Please sign in to comment.