Skip to content

Modify WebP default behavior to follow latest decision (generate only WebP for JPEG) #524

Description

@felixarntz

As part of https://core.trac.wordpress.org/ticket/55443, it was recently decided to change the default behavior of the WebP implementation back to generating only WebP versions for the sub-sizes of a JPEG upload, rather than both WebP and JPEG versions for every size.

We should align with this in the plugin, i.e. adjust the default value for the webp_uploads_upload_image_mime_transforms filter, so that both image/jpeg and image/webp result in only image/webp.

While the short-term future of the WebP feature is unclear, we should definitely align the plugin implementation with the latest decision made for the core side, as that is the safer default.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

[Plugin] Modern Image FormatsIssues for the Modern Image Formats plugin (formerly WebP Uploads)[Type] EnhancementA suggestion for improvement of an existing feature

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions