Skip to content

Commit

Permalink
Merge pull request #433 from WordPress/fix/432-infinite-loading
Browse files Browse the repository at this point in the history
Fix an infinite loop in the WebP fallback mechanism
  • Loading branch information
felixarntz committed Jul 15, 2022
2 parents de791f7 + 5c69ffb commit 4d5ae0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/images/webp-uploads/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,7 @@ function webp_uploads_wepb_fallback() {
i = d.createElement( i );
i.src = p + 'jIAAABXRUJQVlA4ICYAAACyAgCdASoCAAEALmk0mk0iIiIiIgBoSygABc6zbAAA/v56QAAAAA==';
i.onload = function() {
i.onload = undefined;
i.src = p + 'h4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=';
};

Expand Down

0 comments on commit 4d5ae0e

Please sign in to comment.