WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/27/2007 03:24:54 PM (15 years ago)
Author:
markjaquith
Message:

trailing tabs and whitespace cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/greymatter.php

    r4608 r4953  
    9292        if (!chdir($gmpath))
    9393            wp_die(sprintf(__("Wrong path, %s\ndoesn't exist\non the server"), $gmpath));
    94            
     94
    9595        $this->header();
    9696?>
     
    129129        $user_id = wp_insert_user($user_info);
    130130        $this->gmnames[$userdata[0]] = $user_id;
    131        
     131
    132132        printf('<li>'.__('user %s...').' <strong>'.__('Done').'</strong></li>', "<em>$user_login</em>");
    133133    }
     
    214214                    $user_url=$wpdb->escape("");
    215215                    $user_joindate=$wpdb->escape($user_joindate);
    216                    
     216
    217217                    $user_info = array("user_login"=>$user_login, "user_pass"=>$pass1, "user_nickname"=>$user_nickname, "user_email"=>$user_email, "user_url"=>$user_url, "user_ip"=>$user_ip, "user_domain"=>$user_domain, "user_browser"=>$user_browser, "dateYMDhour"=>$user_joindate, "user_level"=>0, "user_idmode"=>"nickname");
    218218                    $user_id = wp_insert_user($user_info);
    219219                    $this->gmnames[$postinfo[1]] = $user_id;
    220                    
     220
    221221                    echo ': ';
    222222                    printf(__('registered deleted user %s at level 0 '), "<em>$user_login</em>");
    223223                }
    224            
     224
    225225                if (array_key_exists($postinfo[1], $this->gmnames)) {
    226226                    $post_author = $this->gmnames[$postinfo[1]];
     
    228228                    $post_author = $user_id;
    229229                }
    230            
     230
    231231                $postdata = compact('post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_title', 'post_excerpt', 'post_status', 'comment_status', 'ping_status', 'post_modified', 'post_modified_gmt');
    232232                $post_ID = wp_insert_post($postdata);
Note: See TracChangeset for help on using the changeset viewer.