From 0697bebe038f6024583ab75c9f5a2eca9ab5496b Mon Sep 17 00:00:00 2001 From: Dekart Deploy Bot Date: Tue, 6 Oct 2026 15:03:57 +0000 Subject: [PATCH] 2026-10-05 GLOBAL --- wp-content/themes/dekart/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/dekart/functions.php b/wp-content/themes/dekart/functions.php index 4943984..4ec0817 100644 --- a/wp-content/themes/dekart/functions.php +++ b/wp-content/themes/dekart/functions.php @@ -3770,7 +3770,8 @@ function dekart_deferred_loader_script($blocks, int $timeout = 3000): string if (! $blocks) { return ''; } - $json = wp_json_encode($blocks, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); + // JSON_HEX_TAG: '' в сниппете иначе рвёт тег загрузчика → JS виден текстом + $json = wp_json_encode($blocks, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_HEX_TAG); return ''; }