Fixes palette-based PNG uploads failing original full-size AVIF/WebP conversion under GD #2024
73.52% of diff hit (target 68.06%)
View this Pull Request on Codecov
73.52% of diff hit (target 68.06%)
Annotations
Check warning on line 820 in plugins/webp-uploads/hooks.php
codecov / codecov/patch
plugins/webp-uploads/hooks.php#L820
Added line #L820 was not covered by tests
Check warning on line 823 in plugins/webp-uploads/hooks.php
codecov / codecov/patch
plugins/webp-uploads/hooks.php#L823
Added line #L823 was not covered by tests
Check warning on line 830 in plugins/webp-uploads/hooks.php
codecov / codecov/patch
plugins/webp-uploads/hooks.php#L829-L830
Added lines #L829 - L830 were not covered by tests
Check warning on line 836 in plugins/webp-uploads/hooks.php
codecov / codecov/patch
plugins/webp-uploads/hooks.php#L836
Added line #L836 was not covered by tests
Check warning on line 849 in plugins/webp-uploads/hooks.php
codecov / codecov/patch
plugins/webp-uploads/hooks.php#L849
Added line #L849 was not covered by tests
Check warning on line 856 in plugins/webp-uploads/hooks.php
codecov / codecov/patch
plugins/webp-uploads/hooks.php#L856
Added line #L856 was not covered by tests
Check warning on line 879 in plugins/webp-uploads/hooks.php
codecov / codecov/patch
plugins/webp-uploads/hooks.php#L878-L879
Added lines #L878 - L879 were not covered by tests