From 27710bd5ac5ec7eda480a85ab4d624b0a1d67b74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Robin?= Date: Fri, 15 Mar 2024 10:00:03 +0100 Subject: [PATCH] Closes #838: Fix the infinite loop of `generate missing next-gen images` (#855) --- classes/Bulk/Bulk.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/classes/Bulk/Bulk.php b/classes/Bulk/Bulk.php index 2486b714..e049dc12 100644 --- a/classes/Bulk/Bulk.php +++ b/classes/Bulk/Bulk.php @@ -595,11 +595,6 @@ public function maybe_generate_missing_nextgen( $old_value, $value ) { return; } - if ( empty( $value['convert_to_avif'] ) ) { - // new value is disabled, do nothing. - return; - } - $contexts = $this->get_contexts(); $formats = imagify_nextgen_images_formats();