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:
parent
15a13b431b
commit
ccabcee5d7
|
@ -130,7 +130,8 @@ class WP_Importer {
|
||||||
}
|
}
|
||||||
if ( empty( $parsed['path'] ) )
|
if ( empty( $parsed['path'] ) )
|
||||||
$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" );
|
fwrite( STDERR, "Error: Could not find blog\n" );
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue