[wp-trac] [WordPress Trac] #14928: wp_mkdir_p() phpdocs do not explain the "p" in the function name in full

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 23 09:26:55 UTC 2010


#14928: wp_mkdir_p() phpdocs do not explain the "p" in the function name in full
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:                 
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------

Comment(by Denis-de-Bernardy):

 Replying to [comment:8 hakre]:
 > I suggest to return true when the directory exists afterwards and false
 if not.
 >
 > Additionally the directory creation / user rights can be checked I smell
 something but need to find an older ticket first.

 It needs to return true of the folder exists and is writable at the end of
 the call. On the top of my head that is exactly how it's implemented at
 the moment.

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


More information about the wp-trac mailing list