浏览代码

Fixing WP import

svalavuo 4 天之前
父节点
当前提交
8104a41148
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      includes/wordpress_import.php

+ 2 - 2
includes/wordpress_import.php

@@ -351,8 +351,8 @@ class WordPressImport {
                     
                     // Insert post
                     $this->targetDb->query(
-                        "INSERT INTO publications (title, slug, content, summary, author, status, created_at, updated_at, published_at,wp_post_id) 
-                         VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)",
+                        "INSERT INTO publications (title, slug, content, summary, author, status, created_at, updated_at, published_at, wp_post_id) 
+                         VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
                         [
                             $wpPost['post_title'],
                             $slug,