[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
Wed Sep 22 06:57:39 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:6 nacin]:
> Good call Denis. So name and return values are proper. Invalid?
I guess so, if it's supposed to behave like the shell function. As a
plugin dev, I'd want that one to return an error code (false in our case,
non-zero in the shell) if I can't write to the folder I entered.
I wouldn't close without patching the phpdoc, though.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14928#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list