[wp-trac] [WordPress Trac] #28076: Problems deleting auto-generated thumbs if the custom size is removed from functions.php

WordPress Trac noreply at wordpress.org
Wed Apr 30 13:47:17 UTC 2014


#28076: Problems deleting auto-generated thumbs if the custom size is removed from
functions.php
----------------------------+-----------------------------
 Reporter:  cokeyblokey     |      Owner:
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Media           |    Version:  3.9
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 I was directed to the TRAC from here:
 [https://wordpress.org/support/topic/a-word-of-warning-deleting-an-image-
 doesnt-delete-thumbs?replies=4]

 I have found that if a custom image size is removed from functions.php,
 then any image uploaded before that point, that is then deleted from the
 media library afterwards does not have those auto-generated sizes deleted
 too. Only image sizes that exist in functions.php are deleted.

 It would be great to have all sized images deleted, regardless of the
 sizes that exist in functions.php

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


More information about the wp-trac mailing list