[wp-trac] [WordPress Trac] #20057: Media upload for multi-webserver setups introduces a nasty race condition that could corrupt uploaded files

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 26 00:12:00 UTC 2012


#20057: Media upload for multi-webserver setups introduces a nasty race condition
that could corrupt uploaded files
--------------------------+------------------------------
 Reporter:  archon810     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  3.3.1
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by markoheijnen):

 If you read my comment on #19121 you would see that the filter shouldn't
 be like that and that there should be a filter to define a default
 callback for unique_filename_callback.

 Most of the functionality is the same. Missing a good filter for
 wp_unique_filename() is a pain in your case.

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


More information about the wp-trac mailing list