]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/includes/update-core.php
WordPress 3.7.1-scripts
[autoinstalls/wordpress.git] / wp-admin / includes / update-core.php
index 52ef1fd4498e2a946017883ffba556fb14bf8515..b841268b5ee3e8bd313154597262d62dfd5fe429 100644 (file)
@@ -750,7 +750,7 @@ function update_core($from, $to) {
        // Check to make sure everything copied correctly, ignoring the contents of wp-content
        $skip = array( 'wp-content' );
        $failed = array();
-       if ( is_array( $checksums ) ) {
+       if ( isset( $checksums ) && is_array( $checksums ) ) {
                foreach ( $checksums as $file => $checksum ) {
                        if ( 0 === strpos( $file, 'wp-content' ) )
                                continue;