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

WordPress Trac noreply at wordpress.org
Mon Dec 2 22:58:41 UTC 2013


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

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


Comment:

 In [changeset:"26543"]:
 {{{
 #!CommitTicketReference repository="" revision="26543"
 Return false from wp_delete_post() and wp_delete_attachment() if the
 DELETE is unsuccessful.

 This prevents attachments from being deleted off disk when a DB is locked
 and the delete is otherwise unsuccessful.

 fixes #25107.
 }}}

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


More information about the wp-trac mailing list