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:
parent
29a40e961d
commit
d8af5797b0
|
@ -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