Make WordPress Core


Ignore:
Timestamp:
11/19/2006 07:56:05 AM (18 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/mt.php

    r4370 r4495  
    5656        if (!(in_array($author, $this->mtnames))) { //a new mt author name is found
    5757            ++ $this->j;
    58             $this->mtnames[$this->j] = $author; //add that new mt author name to an array 
     58            $this->mtnames[$this->j] = $author; //add that new mt author name to an array
    5959            $user_id = username_exists($this->newauthornames[$this->j]); //check if the new author name defined by the user is a pre-existing wp user
    60             if (!$user_id) { //banging my head against the desk now. 
     60            if (!$user_id) { //banging my head against the desk now.
    6161                if ($newauthornames[$this->j] == 'left_blank') { //check if the user does not want to change the authorname
    6262                    $user_id = wp_create_user($author, $pass);
     
    400400    function import() {
    401401        $this->id = (int) $_GET['id'];
    402        
     402
    403403        $this->file = get_attached_file($this->id);
    404404        $this->get_authors_from_post();
Note: See TracChangeset for help on using the changeset viewer.