Use correct function name. props briancolinger, fixes #14021 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@15297 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-06-21 18:18:39 +00:00
parent 15a13b431b
commit ccabcee5d7
1 changed files with 2 additions and 1 deletions

View File

@ -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();
}