Skip to content

Commit

Permalink
Closes #838: Fix the infinite loop of `generate missing next-gen imag…
Browse files Browse the repository at this point in the history
…es` (#855)
  • Loading branch information
Miraeld authored Mar 15, 2024
1 parent daec1ac commit 27710bd
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 27710bd

Please sign in to comment.