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:
parent
a596163f6a
commit
e2e2320f9e
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue