diff --git a/wp-admin/includes/class-wp-importer.php b/wp-admin/includes/class-wp-importer.php index 5a7f0e47a7..6376325c24 100644 --- a/wp-admin/includes/class-wp-importer.php +++ b/wp-admin/includes/class-wp-importer.php @@ -130,7 +130,8 @@ class WP_Importer { } if ( empty( $parsed['path'] ) ) $parsed['path'] = '/'; - if ( !$blog = get_blog_info( $parsed['host'], $parsed['path'] ) ) { + $blog = get_blog_details( array( 'domain' => $parsed['host'], 'path' => $parsed['path'] ) ); + if ( !$blog ) { fwrite( STDERR, "Error: Could not find blog\n" ); exit(); }