Skip to content

Commit

Permalink
Closes #838: Fix the infinite loop of generate missing next-gen images
Browse files Browse the repository at this point in the history
  • Loading branch information
Miraeld committed Mar 15, 2024
1 parent daec1ac commit 1cf8c34
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions classes/Bulk/Bulk.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 1cf8c34

Please sign in to comment.