From 287dbdfd0403531c8be01ac784871e2f06c3287e Mon Sep 17 00:00:00 2001 From: girishpanchal30 Date: Fri, 8 May 2026 15:55:29 +0530 Subject: [PATCH] fix: broken preview for last optimized image --- inc/rest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, [