Changeset 25799
- Timestamp:
- 10/15/2013 09:24:01 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r25793 r25799 745 745 // Create those directories if need be: 746 746 foreach ( $needed_dirs as $_dir ) { 747 // if ( ! $wp_filesystem->mkdir($_dir, FS_CHMOD_DIR) && ! $wp_filesystem->is_dir($_dir) ) // Only check to see if the dir exists upon creation failure. Less I/O this way. 747 // Only check to see if the dir exists upon creation failure. Less I/O this way. 748 if ( ! $wp_filesystem->mkdir( $_dir, FS_CHMOD_DIR ) && ! $wp_filesystem->is_dir( $_dir ) ) 748 749 return new WP_Error( 'mkdir_failed_pclzip', __( 'Could not create directory.' ), substr( $_dir, strlen( $to ) ) ); 749 750 }
Note: See TracChangeset
for help on using the changeset viewer.