Use correct number of arguments in filter callback#634
Merged
aaronjorbin merged 1 commit intotrunkfrom Feb 2, 2023
Merged
Conversation
joemcgill
approved these changes
Feb 1, 2023
Member
joemcgill
left a comment
There was a problem hiding this comment.
This looks correct to me. Thanks for the PR, @aaronjorbin!
Contributor
😲 There are a bit more than 1 problems in Would you like me to copy-paste here the output of static analysis? composer require --dev szepeviktor/phpstan-wordpress
vendor/bin/phpstan analyse -c vendor/szepeviktor/phpstan-wordpress/extension.neon admin/ modules/ server-timing/ *.php --level=0 |
Contributor
PHPStan level 0 outputYou will meet 👧🏻 Ms. Stability on level 4-5. |
felixarntz
approved these changes
Feb 1, 2023
Member
felixarntz
left a comment
There was a problem hiding this comment.
Thanks @aaronjorbin!
Though I would advise, since this is not the only problem spotted in #622, we change the PR description from "Fixes ..." to just "See ...", since there's more work to do to fix that issue.
The `webp_uploads_update_image_onchange` function takes 5 arguments. See #622
7138d54 to
f352269
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
webp_uploads_update_image_onchangefunction takes 5 arguments.See #622
[Focus]orInfrastructurelabel.[Type]label.no milestonelabel.