Make WordPress Core


Ignore:
Timestamp:
11/25/2003 12:46:52 AM (22 years ago)
Author:
mikelittle
Message:

Missing querycount

File:
1 edited

Legend:

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

    r430 r558  
    7070            // we'll check the author is registered already
    7171            $user = $wpdb->get_row("SELECT * FROM $tableusers WHERE user_login = '$post_author'");
     72            ++$querycount;
    7273            if (!$user) { // seems s/he's not, so let's register
    7374                $user_ip = '127.0.0.1';
     
    112113
    113114            $post_author_ID = $wpdb->get_var("SELECT ID FROM $tableusers WHERE user_login = '$post_author'");
     115            ++$querycount;
    114116
    115117            $post_date = explode(' ', $post_date);
     
    135137            // Quick-n-dirty check for dups:
    136138            $dupcheck = $wpdb->get_results("SELECT ID,post_date,post_title FROM $tableposts WHERE post_date='$post_date' AND post_title='$post_title' LIMIT 1",ARRAY_A);
     139            ++$querycount;
    137140            if ($dupcheck[0]['ID']) {
    138141                print "<br />\nSkipping duplicate post, ID = '" . $dupcheck[0]['ID'] . "'<br />\n";
Note: See TracChangeset for help on using the changeset viewer.