Make WordPress Core


Ignore:
Timestamp:
11/15/2008 06:10:35 PM (16 years ago)
Author:
ryan
Message:

Unused var fixes. Props DD32. see #8220

File:
1 edited

Legend:

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

    r9369 r9716  
    5656
    5757    function users_form($n) {
    58         global $wpdb, $testing;
     58        global $wpdb;
    5959        $users = $wpdb->get_results("SELECT * FROM $wpdb->users ORDER BY ID");
    6060?><select name="userselect[<?php echo $n; ?>]">
     
    102102    //function to check the authorname and do the mapping
    103103    function checkauthor($author) {
    104         global $wpdb;
    105104        //mtnames is an array with the names in the mt import file
    106105        $pass = wp_generate_password();
     
    110109            $user_id = username_exists($this->newauthornames[$this->j]); //check if the new author name defined by the user is a pre-existing wp user
    111110            if (!$user_id) { //banging my head against the desk now.
    112                 if ($newauthornames[$this->j] == 'left_blank') { //check if the user does not want to change the authorname
     111                if ($this->newauthornames[$this->j] == 'left_blank') { //check if the user does not want to change the authorname
    113112                    $user_id = wp_create_user($author, $pass);
    114113                    $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.