Changeset 4495 for trunk/wp-admin/import/mt.php
- Timestamp:
- 11/19/2006 07:56:05 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/mt.php
r4370 r4495 56 56 if (!(in_array($author, $this->mtnames))) { //a new mt author name is found 57 57 ++ $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 59 59 $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. 61 61 if ($newauthornames[$this->j] == 'left_blank') { //check if the user does not want to change the authorname 62 62 $user_id = wp_create_user($author, $pass); … … 400 400 function import() { 401 401 $this->id = (int) $_GET['id']; 402 402 403 403 $this->file = get_attached_file($this->id); 404 404 $this->get_authors_from_post();
Note: See TracChangeset
for help on using the changeset viewer.