[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
Tue Sep 21 22:39:33 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 hakre):

 Replying to [comment:2 nacin]:
 > I always thought it was because it also attempts to set proper
 permissions.
 Like P = Permission (not Path)?

 ----

 The @return value does not make any sense. On the one hand it says it's
 true if the path was successfully created, on the other hand it says it's
 true when it existed. That's contradictory.

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


More information about the wp-trac mailing list