Skip to content
Merged

Release #1068

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions inc/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
Expand Down
2 changes: 1 addition & 1 deletion inc/rest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
[
Expand Down
3 changes: 2 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
{
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading