Changeset 8580
- Timestamp:
- 08/07/2008 07:15:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/file.php
r8540 r8580 385 385 386 386 // We've made sure the folders are there, so let's extract the file now: 387 if ( ! $file['folder'] ) 387 if ( ! $file['folder'] ) { 388 388 if ( !$fs->put_contents( $to . $file['filename'], $file['content']) ) 389 389 return new WP_Error('copy_failed', __('Could not copy file'), $to . $file['filename']); 390 390 $fs->chmod($to . $file['filename'], 0644); 391 } 391 392 } 392 393
Note: See TracChangeset
for help on using the changeset viewer.