Import › Choose: leave a kind of content behind (tags, menus, comments, media…)

オープン
#656 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
laravel, php, postgresql
領域
data

調査の方向性

This is a cross-cutting feature across the Tools › Import › Choose screen, the "What comes across" list, the "Items whose author is gone" setting, and the recurring catch-up import. Start by tracing how the import currently decides which kinds to bring and how the report is built, since leaving a kind behind must appear there as a count, not an error. Done means each unticked kind stays out of WordPress-equivalent output, the side effects listed in the issue hold, and the choice persists across catch-ups; the issue has no design agreed yet, so ask the maintainer first.

索引モデルが issue の本文から書いたものです。

説明

area/import type/enhancement when/soon

The import brings everything "What comes across" lists: people, categories, tags, media, posts, pages, comments, menus, redirects and settings. There's no way to leave a kind behind, so someone who doesn't want the old tags, menus or comments has to import them and trash them by hand afterwards. WordPress's own exporter lets a person choose what to export.

Expected, on Tools › Import › Choose:

  • each row of "What comes across" has a tick, on by default; an unticked kind stays in WordPress;
  • what leaving a kind behind does to the rest is said beside it, before the start:
    • media left behind: images in posts stay as links to the old site's files (as unticked "images from other sites" do today), featured images are left empty;
    • categories or tags left behind: posts come without them, and their old addresses get no redirect;
    • people left behind: every item belongs to the person chosen under "Items whose author is gone";
    • pages or posts left behind: links to them in other items are kept as links to the old site;
    • comments, menus, redirects, settings: simply not brought;
  • posts and pages can also be narrowed by status (published only, or with drafts and scheduled);
  • the choice is kept with the import, so each catch-up after it leaves the same kinds behind, and the report lists what was left behind with its count, never as an error.

🤖 Generated with Claude Code

主要言語
PHP
スター
1
フォーク
1
平均マージ
1時間 40分
マージ済み PR(30日)
143

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

temecms/teme のほかの issue

temecms/teme の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。