[wp-trac] [WordPress Trac] #55150: `_wp_attachment_backup_sizes` meta is not deleted when image is restored and IMAGE_EDIT_OVERWRITE is defined

WordPress Trac noreply at wordpress.org
Wed Feb 1 20:30:11 UTC 2023


#55150: `_wp_attachment_backup_sizes` meta is not deleted when image is restored
and IMAGE_EDIT_OVERWRITE is defined
------------------------------+------------------------
 Reporter:  mitogh            |       Owner:  joedolson
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  6.2
Component:  Media             |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------------
Changes (by joedolson):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55180" 55180]:
 {{{
 #!CommitTicketReference repository="" revision="55180"
 Media: Remove meta data after restoring w/IMAGE_EDIT_OVERWRITE.

 When IMAGE_EDIT_OVERWRITE is defined as true the meta field
 `_wp_attachment_backup_sizes` is deleted after an image is restored.

 Props mitogh, jeawhanlee, robinwpdeveloper, iapial.
 Fixes #55150.
 }}}

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


More information about the wp-trac mailing list