From 44a12db7e83efd1384fd1b3957ddb2f1db1b80d0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 06:11:26 +0000 Subject: [PATCH 1/4] chore(deps-dev): bump squizlabs/php_codesniffer from 3.10.3 to 3.11.1 Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) from 3.10.3 to 3.11.1. - [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases) - [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md) - [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.10.3...3.11.1) --- updated-dependencies: - dependency-name: squizlabs/php_codesniffer dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.lock | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index 659f7bf..04c6a73 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f39e175014b63c6a05047985a0948262", + "content-hash": "9679a8870401cbe8d4278e6498dbd825", "packages": [ { "name": "codeinwp/themeisle-sdk", @@ -410,16 +410,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.10.3", + "version": "3.11.1", "source": { "type": "git", "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "62d32998e820bddc40f99f8251958aed187a5c9c" + "reference": "19473c30efe4f7b3cd42522d0b2e6e7f243c6f87" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/62d32998e820bddc40f99f8251958aed187a5c9c", - "reference": "62d32998e820bddc40f99f8251958aed187a5c9c", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/19473c30efe4f7b3cd42522d0b2e6e7f243c6f87", + "reference": "19473c30efe4f7b3cd42522d0b2e6e7f243c6f87", "shasum": "" }, "require": { @@ -466,6 +466,12 @@ "standards", "static analysis" ], + "support": { + "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues", + "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy", + "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer", + "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki" + }, "funding": [ { "url": "https://github.com/PHPCSStandards", @@ -480,7 +486,7 @@ "type": "open_collective" } ], - "time": "2024-09-18T10:38:58+00:00" + "time": "2024-11-16T12:02:36+00:00" }, { "name": "wp-coding-standards/wpcs", From 89bda8585ca923b03a3a403fbd369089ea3d6599 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Nov 2024 07:52:29 +0000 Subject: [PATCH 2/4] chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6. - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md) - [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6) --- updated-dependencies: - dependency-name: cross-spawn dependency-type: indirect ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index db44fee..947c707 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2698,9 +2698,9 @@ cosmiconfig@^7.0.0: yaml "^1.10.0" cross-spawn@^7.0.0, cross-spawn@^7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" - integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + version "7.0.6" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" + integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== dependencies: path-key "^3.1.0" shebang-command "^2.0.0" From 74076af4f7afb580dabb4593043e0e0723a47d75 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 06:41:55 +0000 Subject: [PATCH 3/4] chore(deps): bump codeinwp/themeisle-sdk from 3.3.37 to 3.3.39 Bumps [codeinwp/themeisle-sdk](https://github.com/Codeinwp/themeisle-sdk) from 3.3.37 to 3.3.39. - [Release notes](https://github.com/Codeinwp/themeisle-sdk/releases) - [Changelog](https://github.com/Codeinwp/themeisle-sdk/blob/v3.3.39/CHANGELOG.md) - [Commits](https://github.com/Codeinwp/themeisle-sdk/compare/v3.3.37...v3.3.39) --- updated-dependencies: - dependency-name: codeinwp/themeisle-sdk 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 659f7bf..d0f9755 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f39e175014b63c6a05047985a0948262", + "content-hash": "9679a8870401cbe8d4278e6498dbd825", "packages": [ { "name": "codeinwp/themeisle-sdk", - "version": "3.3.37", + "version": "3.3.39", "source": { "type": "git", "url": "https://github.com/Codeinwp/themeisle-sdk.git", - "reference": "73e9010fb4e30ad8835f00a0df802733f98c4094" + "reference": "f98e239211697760333913fc729f9403ce2bd1e2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/73e9010fb4e30ad8835f00a0df802733f98c4094", - "reference": "73e9010fb4e30ad8835f00a0df802733f98c4094", + "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/f98e239211697760333913fc729f9403ce2bd1e2", + "reference": "f98e239211697760333913fc729f9403ce2bd1e2", "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.37" + "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.39" }, - "time": "2024-11-06T14:44:53+00:00" + "time": "2024-11-19T11:46:23+00:00" } ], "packages-dev": [ From 1475b0be5eed4c9ba974f72375a1241cf3404c08 Mon Sep 17 00:00:00 2001 From: Hardeep Asrani Date: Tue, 3 Dec 2024 18:31:00 +0530 Subject: [PATCH 4/4] chore: remove Hyve promos --- assets/js/scripts-admin.js | 17 ------------ .../classes/wp-maintenance-mode-admin.php | 12 --------- views/wizard.php | 27 ------------------- 3 files changed, 56 deletions(-) diff --git a/assets/js/scripts-admin.js b/assets/js/scripts-admin.js index e61cce7..cc8b904 100644 --- a/assets/js/scripts-admin.js +++ b/assets/js/scripts-admin.js @@ -579,8 +579,6 @@ jQuery( function( $ ) { */ function handlePlugins() { const optimoleCheckbox = $( '#wizard-optimole-checkbox' ); - const hyveCheckbox = $( '#wizard-hyve-checkbox' ); - let promiseChain = Promise.resolve(); if ( optimoleCheckbox.length && optimoleCheckbox.is( ':checked' ) ) { @@ -596,19 +594,6 @@ jQuery( function( $ ) { }); } - if ( hyveCheckbox.length && hyveCheckbox.is( ':checked' ) ) { - promiseChain = promiseChain - .then(() => { - if ( ! wpmmVars.isHyveInstalled ) { - return installPlugin( 'hyve-lite' ).then( () => activatePlugin( 'hyve-lite' ) ); - } - - if ( ! wpmmVars.isHyveActive ) { - return activatePlugin( 'hyve-lite' ); - } - }); - } - return promiseChain.catch( ( error ) => { console.error( 'Error in plugin installation or activation:', error ); }); @@ -676,8 +661,6 @@ jQuery( function( $ ) { return $.get( wpmmVars.otterActivationLink ); case 'optimole-wp': return $.get( wpmmVars.optimoleActivationLink ); - case 'hyve-lite': - return $.get( wpmmVars.hyveActivationLink ); default: break; } diff --git a/includes/classes/wp-maintenance-mode-admin.php b/includes/classes/wp-maintenance-mode-admin.php index f57b64b..6a93e3a 100644 --- a/includes/classes/wp-maintenance-mode-admin.php +++ b/includes/classes/wp-maintenance-mode-admin.php @@ -157,8 +157,6 @@ public function enqueue_admin_scripts() { 'isOtterActive' => is_plugin_active( 'otter-blocks/otter-blocks.php' ), 'isOptimoleInstalled' => file_exists( ABSPATH . 'wp-content/plugins/optimole-wp/optimole-wp.php' ), 'isOptimoleActive' => is_plugin_active( 'optimole-wp/optimole-wp.php' ), - 'isHyveInstalled' => file_exists( ABSPATH . 'wp-content/plugins/hyve-lite/hyve-lite.php' ), - 'isHyveActive' => is_plugin_active( 'hyve-lite/hyve-lite.php' ), 'errorString' => __( 'Something went wrong, please try again.', 'wp-maintenance-mode' ), 'loadingString' => __( 'Doing some magic...', 'wp-maintenance-mode' ), 'importingText' => __( 'Importing', 'wp-maintenance-mode' ), @@ -189,16 +187,6 @@ public function enqueue_admin_scripts() { ), esc_url( network_admin_url( 'plugins.php' ) ) ), - 'hyveActivationLink' => add_query_arg( - array( - 'action' => 'activate', - 'plugin' => rawurlencode( 'hyve-lite/hyve-lite.php' ), - 'plugin_status' => 'all', - 'paged' => '1', - '_wpnonce' => wp_create_nonce( 'activate-plugin_hyve-lite/hyve-lite.php' ), - ), - esc_url( network_admin_url( 'plugins.php' ) ) - ), 'modalTexts' => array( 'title' => __( 'The template has been imported!', 'wp-maintenance-mode' ), 'description' => __( 'The template has been imported to a new draft page. You can take a look and enable it from plugin settings.', 'wp-maintenance-mode' ), diff --git a/views/wizard.php b/views/wizard.php index f616e40..f3f7f0b 100644 --- a/views/wizard.php +++ b/views/wizard.php @@ -14,8 +14,6 @@ ), ); -$show_hyve_promo = version_compare( PHP_VERSION, '8.1', '>=' ) && ! is_plugin_active( 'hyve-lite/hyve-lite.php' ) && ! defined( 'HYVE_LITE_VERSION' ); - ?>
@@ -88,31 +86,6 @@
- -
-
- - - - - -
-

- Hyve%2$s is an AI chatbot plugin for WordPress, ideal for sites in maintenance mode. It enhances user experience by turning your content into interactive conversations, helping visitors access information while your site is under development.', 'wp-maintenance-mode' ), - wpmm_translated_string_allowed_html() - ), - esc_url( 'https://wordpress.org/plugins/hyve-lite/' ), - $this->get_external_link_icon() - ); - ?> -

-