From 00a6679d49d6361ce613eac3493b4181ca96e286 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 9 Sep 2026 09:06:02 +0000 Subject: [PATCH] chore: sync funkycommerce-headless from monorepo Source: coded-letter/coded-letter-monorepo@4d30981f3726872e6d6f8f82f6ab2cdc80ad9000 --- .monorepo-source.json | 2 +- functions.php | 2 +- inc/security-hardening.php | 29 ++++++++++++++++++++++++++--- package-lock.json | 4 ++-- package.json | 2 +- readme.txt | 7 ++++++- style.css | 2 +- 7 files changed, 38 insertions(+), 10 deletions(-) diff --git a/.monorepo-source.json b/.monorepo-source.json index d71c3c2..980b129 100644 --- a/.monorepo-source.json +++ b/.monorepo-source.json @@ -1,7 +1,7 @@ { "productId": "funkycommerce-headless", "repository": "coded-letter/superfunky-theme", - "source": "coded-letter/coded-letter-monorepo@72869cdcaddca084be981b28722da7dd6b9e733f", + "source": "coded-letter/coded-letter-monorepo@4d30981f3726872e6d6f8f82f6ab2cdc80ad9000", "sourcePath": "workspace/backend/wordpress/themes/free/funkycommerce-headless", "installSlug": "funkycommerce-headless", "kind": "theme", diff --git a/functions.php b/functions.php index dee8d0e..1c65373 100644 --- a/functions.php +++ b/functions.php @@ -9,7 +9,7 @@ exit; } -define( 'FUNKYCOMMERCE_HEADLESS_VERSION', '1.2.27' ); +define( 'FUNKYCOMMERCE_HEADLESS_VERSION', '1.2.28' ); /** * Whether Superfunky Pro is active and licensed. diff --git a/inc/security-hardening.php b/inc/security-hardening.php index 4bfbc86..3778513 100644 --- a/inc/security-hardening.php +++ b/inc/security-hardening.php @@ -233,9 +233,32 @@ function funkycommerce_security_mark_content_scripts( $content, $post_type = '' return $content; } - $marked = preg_replace( - '/]*\bdata-wp-block-html\s*=)([^>]*)>/i', - '