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', - '