Changeset 27339
- Timestamp:
- 03/01/2014 06:05:02 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update-core.php
r27338 r27339 816 816 if ( ! $wp_filesystem->copy( $from . $distro . 'wp-includes/version.php', $to . 'wp-includes/version.php', true /* overwrite */ ) ) { 817 817 $wp_filesystem->delete( $from, true ); 818 $result = new WP_Error( 'copy_failed_for_version_file', __( 'The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.' ), ' WTFwp-includes/version.php' );818 $result = new WP_Error( 'copy_failed_for_version_file', __( 'The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.' ), 'wp-includes/version.php' ); 819 819 } 820 820 $wp_filesystem->chmod( $to . 'wp-includes/version.php', FS_CHMOD_FILE );
Note: See TracChangeset
for help on using the changeset viewer.