[wp-trac] [WordPress Trac] #22985: Edit thumbnail image only - loses all sub sizes in attachment meta

WordPress Trac noreply at wordpress.org
Mon Jan 7 00:20:41 UTC 2013


#22985: Edit thumbnail image only - loses all sub sizes in attachment meta
--------------------------+---------------------------
 Reporter:  lewismcarey   |       Owner:  markoheijnen
     Type:  defect (bug)  |      Status:  assigned
 Priority:  high          |   Milestone:  3.5.1
Component:  Media         |     Version:  3.5
 Severity:  critical      |  Resolution:
 Keywords:  has-patch     |
--------------------------+---------------------------

Comment (by markoheijnen):

 Anyone working on fixing the lost data? I was checking if we could used
 backup sizes but that's a no.

 So it seems we need to check if an attachment has a '_edit_lock' and then
 loop check if the meta data sizes doesn't have an image from
 get_intermediate_image_sizes(). And this should be done as late as
 possible since themes do need to add their sizes.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22985#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list