Make WordPress Core

Changeset 27338


Ignore:
Timestamp:
03/01/2014 06:03:55 AM (11 years ago)
Author:
dd32
Message:

Upgrader: Remove some debug from r27336. See #25860

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/update-core.php

    r27337 r27338  
    814814    // Since we know the core files have copied over, we can now copy the version file
    815815    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 */ ) ) {
    817817            $wp_filesystem->delete( $from, true );
    818818            $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.