Make WordPress Core


Ignore:
Timestamp:
02/12/2006 07:53:23 AM (19 years ago)
Author:
ryan
Message:

Death to trailing tabs. Props Mark J. fixes #2405

File:
1 edited

Legend:

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

    r3374 r3517  
    2020        return strtr($string, $trans_tbl);
    2121    }
    22    
     22
    2323    function greet() {
    2424        echo '<p>'.__('Howdy! This importer allows you to extract posts from any RSS 2.0 file into your blog. This is useful if you want to import your posts from a system that is not handled by a custom import tool. Pick an RSS file to upload and click Import.').'</p>';
     
    2828    function get_posts() {
    2929        global $wpdb;
    30        
     30
    3131        set_magic_quotes_runtime(0);
    3232        $datalines = file($this->file); // Read the file into an array
     
    135135        $this->import_posts();
    136136        wp_import_cleanup($file['id']);
    137        
     137
    138138        echo '<h3>';
    139139        printf(__('All done. <a href="%s">Have fun!</a>'), get_option('home'));
     
    148148
    149149        $this->header();
    150        
     150
    151151        switch ($step) {
    152152            case 0 :
     
    157157                break;
    158158        }
    159        
     159
    160160        $this->footer();
    161161    }
    162162
    163163    function RSS_Import() {
    164         // Nothing. 
     164        // Nothing.
    165165    }
    166166}
Note: See TracChangeset for help on using the changeset viewer.