[wp-trac] [WordPress Trac] #8830: wp_mkdir_p doesn't work with safe mode enabled
WordPress Trac
wp-trac at lists.automattic.com
Sat Jan 9 00:11:51 UTC 2010
#8830: wp_mkdir_p doesn't work with safe mode enabled
----------------------------+-----------------------------------------------
Reporter: remi | Type: enhancement
Status: new | Priority: normal
Milestone: Future Release | Component: Filesystem
Version: 2.7 | Severity: normal
Keywords: needs-patch |
----------------------------+-----------------------------------------------
Comment(by dd32):
perhaps this should be added instead:
{{{
$target = untrailingslashit($target);
if ( empty($target) )
$target = '/';
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8830#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list