diff --git a/includes/frontend/class-pr-core-jsonld-article.php b/includes/frontend/class-pr-core-jsonld-article.php index 4b1eb8d..dc116de 100644 --- a/includes/frontend/class-pr-core-jsonld-article.php +++ b/includes/frontend/class-pr-core-jsonld-article.php @@ -210,11 +210,7 @@ class PR_Core_Jsonld_Article { JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT ); if ( false !== $json ) { - // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- wp_json_encode() is the canonical JSON escape; no further escaping needed. - printf( - '' . "\n", - $json - ); + echo '' . "\n"; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- wp_json_encode() already escapes for JSON context. } }