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

WordPress Trac noreply at wordpress.org
Sat Dec 14 20:19:15 UTC 2019


#48974: -1 being added to image uploads with Version 5.3.1
-------------------------------+------------------------------
 Reporter:  neotrope           |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  5.3.1
 Severity:  normal             |  Resolution:
 Keywords:  needs-patch close  |     Focuses:
-------------------------------+------------------------------

Comment (by neotrope):

 Hi
  well, we need this with a disable option under 'settings . images' or a
 plugin hook to remove this 'fheature' as it breaks our versioning and also
 messes with stuff where file names should end with the dimensions for
 things like pagespeed image rewrites. It makes it problematic on a site
 with thousands of images when doing backups as now we have local copies
 without the -1 and then copies with 1. So in a server crash situation or
 database corruption without backup; we'd be unable to upload our original
 images to image folder, as all the image links would be permanwntly
 broken.

 So, this is *not* a useful feature for us.

 Similarly - as another example, if a customer logo changes, we can upload
 new image via FTP to over-write; this would not work as our local images
 will never have -1 added to them.

 So, ***PLEASE**** enable some sort of 'turn it off' option, as those of us
 with large news portals generation large number of images already 'right
 sized and optimized' -- the -1 causes numerous issued for us.

 Thanks.

 Filter hook to disable would be fine, if not other option ... I'm sure I'm
 not the only publisher vs blogger who will have problems with this. :-)

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


More information about the wp-trac mailing list