[wp-trac] [WordPress Trac] #48974: -1 being added to image uploads with Version 5.3.1 (and 5.4.2)

WordPress Trac noreply at wordpress.org
Mon Jul 13 05:49:34 UTC 2020


#48974: -1 being added to image uploads with Version 5.3.1 (and 5.4.2)
--------------------------+-----------------------
 Reporter:  neotrope      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:
Component:  Media         |     Version:  5.3.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------
Changes (by vickymedrano):

 * keywords:   => needs-patch


Comment:

 The image filename gets changed if it ends with a numeric value, for
 example "bag-40x50.jpg" will be renamed "bag-40x50-1.jpg". even if no
 previous file with such name had been uploaded ever before. Seems like
 WordPress regards such finlename as a 40x50 thumbnail, and not an original
 file. The only work around is not to use such numeric values at the end,
 for example I can use "bag-40x50-size.jpg". I hope this gets fixed soon
 cause is driving me crazy.

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


More information about the wp-trac mailing list