Skip to content

Generate missing WebP versions tool counts also WebP images #713

@ionikol

Description

@ionikol

Describe the bug
After the update on v2.1.1 when an image in WebP format is directly uploaded on Media Library and gets optimized then the "Generate missing WebP versions" tool counts it as an optimized image without WebP version created.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Media > Library
  2. Upload an image in WebP format
  3. Optimize the image
  4. Then check through Settings > Imagify that the image counted as it has no WebP version created.

Screenshot 2023-02-13 at 11 35 53

Expected behavior
It should not be counted to the "Generate missing WebP versions" tool.

Additional context
https://secure.helpscout.net/conversation/2144254976/398940?folderId=3572901
https://secure.helpscout.net/conversation/2147413903/399460?folderId=676702
https://wp-media.slack.com/archives/C5S1X8WBY/p1676038727693139

Backlog Grooming (for WP Media dev team use only)

  • Reproduce the problem
  • Identify the root cause
  • Scope a solution
  • Estimate the effort

Metadata

Metadata

Assignees

Labels

effort [XS]< 1 day of estimated development timemodule: convert webppriority: mediumIssues which are important, but no one will go out of business.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions