From 0858412468c163e17771cf5f0d4362c06949e101 Mon Sep 17 00:00:00 2001 From: girishpanchal30 Date: Mon, 27 Jul 2026 13:23:32 +0530 Subject: [PATCH 1/2] fix: handle empty value --- inc/core/styles/dynamic_selector.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/inc/core/styles/dynamic_selector.php b/inc/core/styles/dynamic_selector.php index cf6b8524c0..24655338d4 100644 --- a/inc/core/styles/dynamic_selector.php +++ b/inc/core/styles/dynamic_selector.php @@ -29,6 +29,7 @@ class Dynamic_Selector { const META_DEVICE_ONLY = 'device_only'; const META_FILTER = 'filter'; const META_AS_JSON = 'as_json'; + const META_IS_EMPTY = 'is_empty'; const KEY_SELECTOR = 'selectors'; const KEY_RULES = 'rules'; @@ -174,6 +175,10 @@ public function get_value( $meta ) { $default = isset( $meta[ self::META_DEFAULT ] ) ? $meta[ self::META_DEFAULT ] : false; $value = Mods::get( $key, $default ); + // Only check whether the value is empty when the meta has the is_empty flag set to true. + if ( isset( $meta[ self::META_IS_EMPTY ] ) && $meta[ self::META_IS_EMPTY ] && empty( $value ) ) { + return $default; + } if ( $value === false || $value === null || $value === '' ) { return $default; From 3a21ba2a44e46e8d1555ec9e9ef83a6ff6e79e6f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 Jul 2026 12:31:09 +0000 Subject: [PATCH 2/2] chore(deps): bump codeinwp/themeisle-sdk from 3.3.55 to 3.3.58 Bumps [codeinwp/themeisle-sdk](https://github.com/Codeinwp/themeisle-sdk) from 3.3.55 to 3.3.58. - [Release notes](https://github.com/Codeinwp/themeisle-sdk/releases) - [Changelog](https://github.com/Codeinwp/themeisle-sdk/blob/v3.3.58/CHANGELOG.md) - [Commits](https://github.com/Codeinwp/themeisle-sdk/compare/v3.3.55...v3.3.58) --- updated-dependencies: - dependency-name: codeinwp/themeisle-sdk dependency-version: 3.3.57 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index 14bc235f8d..2c18c51427 100644 --- a/composer.lock +++ b/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "name": "codeinwp/themeisle-sdk", - "version": "3.3.55", + "version": "3.3.58", "source": { "type": "git", "url": "https://github.com/Codeinwp/themeisle-sdk.git", - "reference": "bd601798d209a4bc5962d2a19a22dc6dddf341cc" + "reference": "d6807c0b7308e323bd77cced667dee3f2d5e6a82" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/bd601798d209a4bc5962d2a19a22dc6dddf341cc", - "reference": "bd601798d209a4bc5962d2a19a22dc6dddf341cc", + "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/d6807c0b7308e323bd77cced667dee3f2d5e6a82", + "reference": "d6807c0b7308e323bd77cced667dee3f2d5e6a82", "shasum": "" }, "require-dev": { @@ -43,9 +43,9 @@ ], "support": { "issues": "https://github.com/Codeinwp/themeisle-sdk/issues", - "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.55" + "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.58" }, - "time": "2026-07-20T10:57:27+00:00" + "time": "2026-07-29T08:38:52+00:00" }, { "name": "wptt/webfont-loader",