[wp-trac] [WordPress Trac] #25107: Deleting files from Media Library when MySQL database locked

WordPress Trac noreply at wordpress.org
Thu Oct 3 10:00:43 UTC 2013


#25107: Deleting files from Media Library when MySQL database locked
------------------------------+-----------------------
 Reporter:  jakubferenc       |       Owner:  nacin
     Type:  defect (bug)      |      Status:  accepted
 Priority:  normal            |   Milestone:  3.7
Component:  Media             |     Version:  3.6
 Severity:  major             |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------

Comment (by ocean90):

 An issue with [attachment:25107.diff​] could be, that deleting metadata
 works, but the primary delete query fails.  This results in a post without
 any meta, like for image sizes, which means, that
 `image_get_intermediate_size()` will fail and the image files can't be
 deleted.

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


More information about the wp-trac mailing list