[wp-trac] [WordPress Trac] #55443: Create WebP sub-sizes and use for output
WordPress Trac
noreply at wordpress.org
Wed Sep 7 18:13:36 UTC 2022
#55443: Create WebP sub-sizes and use for output
-------------------------------------------------+-------------------------
Reporter: adamsilverstein | Owner:
| adamsilverstein
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.1
Component: Media | Version: 6.0
Severity: normal | Resolution: fixed
Keywords: has-unit-tests needs-dev-note | Focuses:
needs-docs needs-user-docs has-patch commit | performance
-------------------------------------------------+-------------------------
Comment (by azaozz):
Just a nitpick but seems the change to `generate_filename()` first param
handling is not used here. The part that changes `if ( ! $suffix )` to `if
( null === $suffix )`.
Best to put in a separate ticket as allowing to pass `''` (empty string)
in order to not auto-generate a suffix seems to be an enhancement.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55443#comment:190>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list