Skip to content

Commit 287dbdf

Browse files
fix: broken preview for last optimized image
1 parent 1f3f644 commit 287dbdf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

inc/rest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ public function poll_optimized_images( WP_REST_Request $request ) {
718718
foreach ( $final_images as $index => $value ) {
719719
$final_images[ $index ]['url'] = Optml_Media_Offload::instance()->get_media_optimized_url(
720720
$value['url'],
721-
$value['key'],
721+
strtolower( $value['key'] ),
722722
140,
723723
140,
724724
[

0 commit comments

Comments
 (0)