WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r14760 r15452  
    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();
     
    216217     */
    217218    function is_user_over_quota() {
    218         global $current_user, $current_blog;
     219        global $current_blog;
    219220
    220221        if ( function_exists( 'upload_is_user_over_quota' ) ) {
Note: See TracChangeset for help on using the changeset viewer.