[wp-trac] [WordPress Trac] #62359: Converted images have the dimension suffix added to the full size image.

WordPress Trac noreply at wordpress.org
Fri Feb 21 20:23:49 UTC 2025


#62359: Converted images have the dimension suffix added to the full size image.
-------------------------------------------------+-------------------------
 Reporter:  peterwilsoncc                        |       Owner:
                                                 |  peterwilsoncc
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.7
Component:  Media                                |     Version:  6.7
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests reporter-   |     Focuses:
  feedback commit                                |
-------------------------------------------------+-------------------------

Comment (by joedolson):

 In [changeset:"59855" 59855]:
 {{{
 #!CommitTicketReference repository="" revision="59855"
 Media: Support generating filenames without a suffix.

 Add support handling an empty string in the `$suffix` parameter that
 allows a file name to be generated with no suffix added. This makes it
 possible to avoid adding irrelevant suffixes in cases like converting
 image formats.

 Props azaozz, debarghyabanerjee, joedolson.
 See #62359.
 Fixes #62385.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62359#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list