Make WordPress Core

Changeset 5427


Ignore:
Timestamp:
05/10/2007 02:31:16 AM (18 years ago)
Author:
ryan
Message:

Var is an object var. Add missing this.

File:
1 edited

Legend:

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

    r5423 r5427  
    6666            $user_id = username_exists($this->newauthornames[$this->j]); //check if the new author name defined by the user is a pre-existing wp user
    6767            if (!$user_id) { //banging my head against the desk now.
    68                 if ($newauthornames[$this->j] == 'left_blank') { //check if the user does not want to change the authorname
     68                if ($this->newauthornames[$this->j] == 'left_blank') { //check if the user does not want to change the authorname
    6969                    $user_id = wp_create_user($author, $pass);
    7070                    $this->newauthornames[$this->j] = $author; //now we have a name, in the place of left_blank.
Note: See TracChangeset for help on using the changeset viewer.