Ticket #15575: 15575.patch
File 15575.patch, 1002 bytes (added by , 14 years ago) |
---|
-
wp-admin/includes/class-wp-filesystem-ftpext.php
247 247 return false; 248 248 } 249 249 function mkdir($path, $chmod = false, $chown = false, $chgrp = false) { 250 $path = untrailingslashit($path); 250 251 if ( !@ftp_mkdir($this->link, $path) ) 251 252 return false; 252 253 $this->chmod($path, $chmod); -
wp-admin/includes/class-wp-filesystem-ftpsockets.php
267 267 } 268 268 269 269 function mkdir($path, $chmod = false, $chown = false, $chgrp = false ) { 270 $path = untrailingslashit($path); 270 271 if ( ! $this->ftp->mkdir($path) ) 271 272 return false; 272 273 if ( ! $chmod )