diff --git a/src/wp-admin/includes/update-core.php b/src/wp-admin/includes/update-core.php index 52ef1fd449..b841268b5e 100644 --- a/src/wp-admin/includes/update-core.php +++ b/src/wp-admin/includes/update-core.php @@ -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;