When webp_uploads_prefer_smaller_image_file
is set to true, an undefine error occurs
#396
Labels
[Plugin] Modern Image Formats
Issues for the Modern Image Formats plugin (formerly WebP Uploads)
[Type] Bug
An existing feature is broken
Bug Description
It generate undefine variable error when
webp_uploads_prefer_smaller_image_file
is set to true.#7 (comment)
Steps to reproduce
add_filter( 'webp_uploads_prefer_smaller_image_file', '__return_true' );
in theme or pluginError Message
Notice: Undefined variable: size_data in /var/www/html/wp-content/plugins/performance/modules/images/webp-uploads/load.php on line 484
Additional Context
The text was updated successfully, but these errors were encountered: