[wp-trac] [WordPress Trac] #51304: -1 added to file after uploading with specific file name

WordPress Trac noreply at wordpress.org
Mon Sep 14 08:42:31 UTC 2020


#51304: -1 added to file after uploading with specific file name
--------------------------+------------------------------
 Reporter:  rmens         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  5.5.1
 Severity:  normal        |  Resolution:  invalid
 Keywords:  close         |     Focuses:
--------------------------+------------------------------
Changes (by Mista-Flo):

 * keywords:   => close
 * status:  new => closed
 * resolution:   => invalid


Comment:

 Hello @rmens, it's not a bug, it's a feature.

 Previously, because it follows the same pattern. as image sizes generated
 by WordPress, it could have override an existing image, so WordPress
 decided to fix that by adding a -1 suffix.

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


More information about the wp-trac mailing list