WordPress.org

Make WordPress Core

Changeset 15297


Ignore:
Timestamp:
06/21/10 18:18:39 (4 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-importer.php

    r14760 r15297  
    131131            if ( empty( $parsed['path'] ) ) 
    132132                $parsed['path'] = '/'; 
    133             if ( !$blog = get_blog_info( $parsed['host'], $parsed['path'] ) ) { 
     133            $blog = get_blog_details( array( 'domain' => $parsed['host'], 'path' => $parsed['path'] ) ); 
     134            if ( !$blog ) { 
    134135                fwrite( STDERR, "Error: Could not find blog\n" ); 
    135136                exit(); 
Note: See TracChangeset for help on using the changeset viewer.