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