Changeset 27338
- Timestamp:
- 03/01/2014 06:03:55 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update-core.php
r27337 r27338 814 814 // Since we know the core files have copied over, we can now copy the version file 815 815 if ( ! is_wp_error( $result ) ) { 816 if ( ! $ r = $wp_filesystem->copy( $from . $distro . 'wp-includes/version.php', $to . 'wp-includes/version.php', true /* overwrite */ ) ) {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 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' );
Note: See TracChangeset
for help on using the changeset viewer.