From: Marcel Werk Date: Tue, 14 Feb 2023 12:31:38 +0000 (+0100) Subject: Fix issue when importing articles from wordpress X-Git-Tag: 5.5.9~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3e18aa1142704ea40d3118dabfb985eac02fbeb9;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.exporter.git Fix issue when importing articles from wordpress The 'comment' column was removed with version 5.5 --- diff --git a/files/lib/system/exporter/WordPress3xExporter.class.php b/files/lib/system/exporter/WordPress3xExporter.class.php index bbbf014..207b364 100644 --- a/files/lib/system/exporter/WordPress3xExporter.class.php +++ b/files/lib/system/exporter/WordPress3xExporter.class.php @@ -357,7 +357,6 @@ class WordPress3xExporter extends AbstractExporter 'username' => $row['user_login'] ?: '', 'time' => $time, 'categoryID' => (isset($categories[$row['ID']]) ? \reset($categories[$row['ID']]) : null), - 'comments' => $row['comment_count'], 'publicationStatus' => $row['post_status'] == 'publish' ? Article::PUBLISHED : Article::UNPUBLISHED, ];