[wp-trac] [WordPress Trac] #62385: Improve `WP_Image_Editor::generate_filename()` to support generating filenames without a suffix
WordPress Trac
noreply at wordpress.org
Sun Mar 2 18:53:48 UTC 2025
#62385: Improve `WP_Image_Editor::generate_filename()` to support generating
filenames without a suffix
---------------------------------------------+------------------------
Reporter: azaozz | Owner: joedolson
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.8
Component: Media | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch needs-dev-note commit | Focuses:
---------------------------------------------+------------------------
Comment (by joedolson):
In [changeset:"59897" 59897]:
{{{
#!CommitTicketReference repository="" revision="59897"
Media: Simplify file name generation for image conversions.
Use the empty string argument in `$editor->save()` added in [59855] to
simplify the code used to prevent image format conversions from getting a
suffix appended to their file names.
Props joedolson, audrasjb, azaozz.
See #62385.
Fixes #63003.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62385#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list