Changeset 18964
- Timestamp:
- 10/13/2011 10:43:38 AM (13 years ago)
- Location:
- trunk/wp-admin/includes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-filesystem-direct.php
r18632 r18964 288 288 $path = untrailingslashit($path); 289 289 if ( empty($path) ) 290 $path = '/';290 return false; 291 291 292 292 if ( ! $chmod ) -
trunk/wp-admin/includes/class-wp-filesystem-ftpext.php
r18632 r18964 248 248 } 249 249 function mkdir($path, $chmod = false, $chown = false, $chgrp = false) { 250 $path = untrailingslashit($path); 251 if ( empty($path) ) 252 return false; 253 250 254 if ( !@ftp_mkdir($this->link, $path) ) 251 255 return false; -
trunk/wp-admin/includes/class-wp-filesystem-ftpsockets.php
r17771 r18964 268 268 269 269 function mkdir($path, $chmod = false, $chown = false, $chgrp = false ) { 270 $path = untrailingslashit($path); 271 if ( empty($path) ) 272 return false; 273 270 274 if ( ! $this->ftp->mkdir($path) ) 271 275 return false; -
trunk/wp-admin/includes/class-wp-filesystem-ssh2.php
r18632 r18964 312 312 function mkdir($path, $chmod = false, $chown = false, $chgrp = false) { 313 313 $path = untrailingslashit($path); 314 if ( empty($path) ) 315 return false; 316 314 317 if ( ! $chmod ) 315 318 $chmod = FS_CHMOD_DIR;
Note: See TracChangeset
for help on using the changeset viewer.