[wp-trac] [WordPress Trac] #54714: images deleted from media library still exist in upload directory

WordPress Trac noreply at wordpress.org
Fri Dec 31 01:20:28 UTC 2021


#54714: images deleted from media library still exist in upload directory
--------------------------+-----------------------------
 Reporter:  erikdemarco   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Currently its so easy to make storage full of all wp site which allow user
 to upload image.

 Just upload big image all the time. Eventhough the admin of the website
 delete it permanently from media gallery. This files still exist in
 'uploads' directory.

 When media is deleted permanently from media library, all files for this
 images should also be deleted including the size variations.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54714>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list