Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update webp_uploads_pre_generate_additional_image_source filter to allow returning file size #334

Merged
merged 6 commits into from Jun 1, 2022

Conversation

eugene-manuilov
Copy link
Contributor

@eugene-manuilov eugene-manuilov commented May 13, 2022

Summary

Fixes #333

Relevant technical choices

Checklist

  • PR has either [Focus] or Infrastructure label.
  • PR has a [Type] label.
  • PR has a milestone or the no milestone label.

@eugene-manuilov eugene-manuilov added [Type] Enhancement A suggestion for improvement of an existing feature [Focus] Images Issues related to the Images focus area [Plugin] Modern Image Formats Issues for the Modern Image Formats plugin (formerly WebP Uploads) labels May 13, 2022
@eugene-manuilov eugene-manuilov added this to the 1.2.0 milestone May 13, 2022
@eugene-manuilov eugene-manuilov changed the title Update the webp_uploads_pre_generate_additional_image_source filter t… Update the webp_uploads_pre_generate_additional_image_source filter to allow returning file size May 13, 2022
modules/images/webp-uploads/helper.php Outdated Show resolved Hide resolved
modules/images/webp-uploads/helper.php Outdated Show resolved Hide resolved
@bethanylang bethanylang added the Needs Review Anything that requires code review label May 17, 2022
@mehulkaklotar mehulkaklotar self-requested a review May 17, 2022 16:13
Copy link
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eugene-manuilov Looks pretty much good to go, just one tiny comment.

tests/modules/images/webp-uploads/helper-tests.php Outdated Show resolved Hide resolved
Copy link
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eugene-manuilov Looks good!

One remaining non-blocking comment.

tests/modules/images/webp-uploads/helper-tests.php Outdated Show resolved Hide resolved
Copy link
Member

@mehulkaklotar mehulkaklotar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@felixarntz felixarntz changed the title Update the webp_uploads_pre_generate_additional_image_source filter to allow returning file size Update webp_uploads_pre_generate_additional_image_source filter to allow returning file size Jun 1, 2022
@felixarntz felixarntz changed the base branch from release/1.1.0 to trunk June 1, 2022 14:49
@felixarntz felixarntz merged commit 9a6237f into trunk Jun 1, 2022
@felixarntz felixarntz deleted the enhancement/333-pre-generate-sources-filter branch June 1, 2022 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Focus] Images Issues related to the Images focus area Needs Review Anything that requires code review [Plugin] Modern Image Formats Issues for the Modern Image Formats plugin (formerly WebP Uploads) [Type] Enhancement A suggestion for improvement of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhance webp_uploads_pre_generate_additional_image_source filter to support returning filesize value
6 participants