[wp-trac] [WordPress Trac] #54648: Improve filter to enable setting quality for each subsize image
WordPress Trac
noreply at wordpress.org
Wed Jan 19 23:48:05 UTC 2022
#54648: Improve filter to enable setting quality for each subsize image
----------------------------------------+------------------------------
Reporter: Mte90 | Owner: adamsilverstein
Type: enhancement | Status: accepted
Priority: normal | Milestone: Awaiting Review
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses: performance
----------------------------------------+------------------------------
Comment (by adamsilverstein):
> Talking with @codekraft seems that this filter is not executed for any
size but just once.
Hmmm, yea that might be the case, let me add some tests and we can verify.
> With this code seems that it isn't executed:
Let me give this a test. You mean it was only executed once (and then the
same quality used for all images?) Where did you add that code?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54648#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list