diff --git a/composer.lock b/composer.lock index 31e8ab65..70a45f65 100644 --- a/composer.lock +++ b/composer.lock @@ -64,16 +64,16 @@ }, { "name": "codeinwp/themeisle-sdk", - "version": "3.3.51", + "version": "3.3.52", "source": { "type": "git", "url": "https://github.com/Codeinwp/themeisle-sdk.git", - "reference": "bb2a8414b0418b18c68c9ff1df3d7fb10467928d" + "reference": "d1ae68cbd4f84934b4d982e9eeff317b9f4c814a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/bb2a8414b0418b18c68c9ff1df3d7fb10467928d", - "reference": "bb2a8414b0418b18c68c9ff1df3d7fb10467928d", + "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/d1ae68cbd4f84934b4d982e9eeff317b9f4c814a", + "reference": "d1ae68cbd4f84934b4d982e9eeff317b9f4c814a", "shasum": "" }, "require-dev": { @@ -99,9 +99,9 @@ ], "support": { "issues": "https://github.com/Codeinwp/themeisle-sdk/issues", - "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.51" + "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.52" }, - "time": "2026-03-30T07:58:49+00:00" + "time": "2026-05-14T19:43:56+00:00" }, { "name": "enshrined/svg-sanitize", diff --git a/inc/admin.php b/inc/admin.php index b413faae..d1b37e76 100755 --- a/inc/admin.php +++ b/inc/admin.php @@ -1415,6 +1415,9 @@ private function localize_dashboard_app() { } $api_key = $this->settings->get( 'api_key' ); $service_data = $this->settings->get( 'service_data' ); + if ( ! is_array( $service_data ) ) { + $service_data = []; + } $user = get_userdata( get_current_user_id() ); $user_status = 'inactive'; $auto_connect = get_option( Optml_Settings::OPTML_USER_EMAIL, 'no' ); diff --git a/inc/rest.php b/inc/rest.php index fd5363d6..38cbaf4e 100644 --- a/inc/rest.php +++ b/inc/rest.php @@ -718,7 +718,7 @@ public function poll_optimized_images( WP_REST_Request $request ) { foreach ( $final_images as $index => $value ) { $final_images[ $index ]['url'] = Optml_Media_Offload::instance()->get_media_optimized_url( $value['url'], - $value['key'], + strtolower( $value['key'] ), 140, 140, [ diff --git a/playwright.config.ts b/playwright.config.ts index c559c076..f82cb686 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -2,12 +2,13 @@ import { defineConfig } from '@playwright/test'; export default defineConfig({ testDir: './tests/e2e', - timeout: 30000, + timeout: 60000, workers: process.env.CI ? 2 : 5, retries: process.env.CI ? 2 : 0, use: { baseURL: 'http://testing.optimole.com', // Replace with your local WordPress URL trace: 'on-first-retry', + navigationTimeout: 45000, }, projects: [ { diff --git a/readme.txt b/readme.txt index a07b0407..e8d88405 100755 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: optimole Tags: image optimization, optimize images, compress images, webp, avif Requires at least: 5.5 -Tested up to: 6.9 +Tested up to: 7.0 Requires PHP: 7.4 Stable tag: 4.2.5 License: GPLv3