Var is an object var. Add missing this.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
58839706d0
commit
28f3106ee9
|
@ -65,7 +65,7 @@ class WP_Import {
|
||||||
$this->mtnames[$this->j] = $author; //add that new mt author name to an array
|
$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
|
$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 (!$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);
|
$user_id = wp_create_user($author, $pass);
|
||||||
$this->newauthornames[$this->j] = $author; //now we have a name, in the place of left_blank.
|
$this->newauthornames[$this->j] = $author; //now we have a name, in the place of left_blank.
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue