(int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -171,7 +171,7 @@ class MT_Import {
|
||||
return;
|
||||
}
|
||||
$this->file = $file['file'];
|
||||
$this->id = $file['id'];
|
||||
$this->id = (int) $file['id'];
|
||||
|
||||
$this->get_entries();
|
||||
$this->mt_authors_form();
|
||||
@@ -295,7 +295,7 @@ class MT_Import {
|
||||
}
|
||||
}
|
||||
|
||||
$comment_post_ID = $post_id;
|
||||
$comment_post_ID = (int) $post_id;
|
||||
$comment_approved = 1;
|
||||
|
||||
// Now for comments
|
||||
|
||||
Reference in New Issue
Block a user