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

git-svn-id: http://svn.automattic.com/wordpress/trunk@15297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-06-21 18:18:39 +00:00
parent a596163f6a
commit e2e2320f9e
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();
}