From 1cf8c349de68bf219922e5bef1e5cc50c121364f Mon Sep 17 00:00:00 2001 From: Gael Robin Date: Wed, 13 Mar 2024 14:43:16 +0100 Subject: [PATCH] Closes #838: Fix the infinite loop of `generate missing next-gen images` --- 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();