Changeset 25793 for trunk/src/wp-admin/includes/file.php
- Timestamp:
- 10/15/2013 07:13:33 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r25780 r25793 790 790 if ( ! $wp_filesystem->copy($from . $filename, $to . $filename, true, FS_CHMOD_FILE) ) { 791 791 // If copy failed, chmod file to 0644 and try again. 792 $wp_filesystem->chmod( $to . $filename, 0644);792 $wp_filesystem->chmod( $to . $filename, FS_CHMOD_FILE ); 793 793 if ( ! $wp_filesystem->copy($from . $filename, $to . $filename, true, FS_CHMOD_FILE) ) 794 794 return new WP_Error( 'copy_failed_copy_dir', __( 'Could not copy file.' ), $to . $filename );
Note: See TracChangeset
for help on using the changeset viewer.