From 8c9156b7c20e4a338ea8b57396fd9a7906789ccd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Sep 2025 16:04:03 +0000 Subject: [PATCH 1/2] chore(deps): bump codeinwp/themeisle-sdk from 3.3.48 to 3.3.49 Bumps [codeinwp/themeisle-sdk](https://github.com/Codeinwp/themeisle-sdk) from 3.3.48 to 3.3.49. - [Release notes](https://github.com/Codeinwp/themeisle-sdk/releases) - [Changelog](https://github.com/Codeinwp/themeisle-sdk/blob/v3.3.49/CHANGELOG.md) - [Commits](https://github.com/Codeinwp/themeisle-sdk/compare/v3.3.48...v3.3.49) --- updated-dependencies: - dependency-name: codeinwp/themeisle-sdk dependency-version: 3.3.49 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.lock | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.lock b/composer.lock index 2bf78d33d..9d638f7d8 100644 --- a/composer.lock +++ b/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "name": "codeinwp/themeisle-sdk", - "version": "3.3.48", + "version": "3.3.49", "source": { "type": "git", "url": "https://github.com/Codeinwp/themeisle-sdk.git", - "reference": "0727d2cf2fc9bfb81b42968aeaf2bf4e340f021e" + "reference": "605f78bbbd8526f7597a89077791043d9ecc8c20" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/0727d2cf2fc9bfb81b42968aeaf2bf4e340f021e", - "reference": "0727d2cf2fc9bfb81b42968aeaf2bf4e340f021e", + "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/605f78bbbd8526f7597a89077791043d9ecc8c20", + "reference": "605f78bbbd8526f7597a89077791043d9ecc8c20", "shasum": "" }, "require-dev": { @@ -36,16 +36,16 @@ "homepage": "https://themeisle.com" } ], - "description": "ThemeIsle SDK", + "description": "Themeisle SDK.", "homepage": "https://github.com/Codeinwp/themeisle-sdk", "keywords": [ "wordpress" ], "support": { "issues": "https://github.com/Codeinwp/themeisle-sdk/issues", - "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.48" + "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.49" }, - "time": "2025-08-11T16:47:24+00:00" + "time": "2025-09-18T13:41:05+00:00" }, { "name": "neitanod/forceutf8", From a9a37216e645d07b9c914747e2be4f8f2721117e Mon Sep 17 00:00:00 2001 From: girishpanchal30 Date: Wed, 5 Nov 2025 14:30:44 +0530 Subject: [PATCH 2/2] fix: prevent SQL injection --- classes/Visualizer/Gutenberg/Block.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Visualizer/Gutenberg/Block.php b/classes/Visualizer/Gutenberg/Block.php index c648112b7..ef1f8d8a8 100644 --- a/classes/Visualizer/Gutenberg/Block.php +++ b/classes/Visualizer/Gutenberg/Block.php @@ -492,7 +492,7 @@ public function get_visualizer_data( $post ) { * @access public */ public function get_query_data( $data ) { - if ( ! current_user_can( 'edit_posts' ) ) { + if ( ! current_user_can( 'administrator' ) ) { return false; }