Ticket #15575: class-wp-filesystem-ftpext.diff
File class-wp-filesystem-ftpext.diff, 490 bytes (added by , 14 years ago) |
---|
-
class-wp-filesystem-ftpext.php
247 247 return false; 248 248 } 249 249 function mkdir($path, $chmod = false, $chown = false, $chgrp = false) { 250 if ( substr($path,-1,1) == '/' ) { 251 $path = substr($path,0,-1); 252 } 250 253 if ( !@ftp_mkdir($this->link, $path) ) 251 254 return false; 252 255 $this->chmod($path, $chmod);