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

git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-06-21 18:19:52 +00:00
parent 29a40e961d
commit d8af5797b0
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();
}