[wp-trac] [WordPress Trac] #60855: wp_mkdir_p can error when simultaneous requests attempt to create the same directory

WordPress Trac noreply at wordpress.org
Mon May 20 14:31:26 UTC 2024


#60855: wp_mkdir_p can error when simultaneous requests attempt to create the same
directory
--------------------------+------------------------------
 Reporter:  grantmkin     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by siliconforks):

 * Attachment "60855-FOR-ILLUSTRATION-PURPOSES-ONLY-DO-NOT-MERGE.patch"
 added.

 An example of implementing wp_mkdir_p() without using PHP's (buggy)
 recursive mkdir().  Note: this patch is simplified for illustration
 purposes and contains some issues - do not attempt to actually merge this.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60855>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list