Var is an object var. Add missing this.
git-svn-id: https://develop.svn.wordpress.org/trunk@5427 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9abc3c9374
commit
5168e22236
|
@ -65,7 +65,7 @@ class WP_Import {
|
|||
$this->mtnames[$this->j] = $author; //add that new mt author name to an array
|
||||
$user_id = username_exists($this->newauthornames[$this->j]); //check if the new author name defined by the user is a pre-existing wp user
|
||||
if (!$user_id) { //banging my head against the desk now.
|
||||
if ($newauthornames[$this->j] == 'left_blank') { //check if the user does not want to change the authorname
|
||||
if ($this->newauthornames[$this->j] == 'left_blank') { //check if the user does not want to change the authorname
|
||||
$user_id = wp_create_user($author, $pass);
|
||||
$this->newauthornames[$this->j] = $author; //now we have a name, in the place of left_blank.
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue