git-svn-id: http://svn.automattic.com/wordpress/trunk@255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
mikelittle 2003-07-19 22:46:41 +00:00
parent edcb80a4c1
commit e092dcd164
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ for ($iCount=1; $iCount<=$Count; $iCount++) {
$content = addslashes(trim($content));
$sql = "INSERT INTO $tableposts (post_author, post_date, post_content, post_title, post_category) VALUES ($post_author, '$post_date', '$content', '$post_title', $post_category)";
$result = $wpdb->query($sql);
$post_ID = mysql_insert_id();
$post_ID = $wpdb->insert_id;
if (isset($sleep_after_edit) && $sleep_after_edit > 0) {
sleep($sleep_after_edit);