diff options
Diffstat (limited to 'wp-admin/import/blogware.php')
| -rw-r--r-- | wp-admin/import/blogware.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/import/blogware.php b/wp-admin/import/blogware.php index 2cbf75f..c9e281c 100644 --- a/wp-admin/import/blogware.php +++ b/wp-admin/import/blogware.php @@ -104,7 +104,7 @@ class BW_Import { $comments = $comments[1];
if ( $comments ) {
- $comment_post_ID = $post_id;
+ $comment_post_ID = (int) $post_id;
$num_comments = 0;
foreach ($comments as $comment) {
preg_match('|<body>(.*?)</body>|is', $comment, $comment_content);
|
