Make WordPress Core


Ignore:
Timestamp:
11/19/2006 07:56:05 AM (19 years ago)
Author:
ryan
Message:

Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986

File:
1 edited

Legend:

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

    r4424 r4495  
    5959        if (!(in_array($author, $this->mtnames))) { //a new mt author name is found
    6060            ++ $this->j;
    61             $this->mtnames[$this->j] = $author; //add that new mt author name to an array 
     61            $this->mtnames[$this->j] = $author; //add that new mt author name to an array
    6262            $user_id = username_exists($this->newauthornames[$this->j]); //check if the new author name defined by the user is a pre-existing wp user
    63             if (!$user_id) { //banging my head against the desk now. 
     63            if (!$user_id) { //banging my head against the desk now.
    6464                if ($newauthornames[$this->j] == 'left_blank') { //check if the user does not want to change the authorname
    6565                    $user_id = wp_create_user($author, $pass);
     
    274274    function import() {
    275275        $this->id = (int) $_GET['id'];
    276        
     276
    277277        $this->file = get_attached_file($this->id);
    278278        $this->get_authors_from_post();
Note: See TracChangeset for help on using the changeset viewer.