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

Abierto
#656 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
15/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
laravel, php, postgresql
Área
data

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
PHP
Estrellas
1
Forks
1
Merge medio
1 h 40 min
PR fusionados (30 d)
143

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de temecms/teme

Todos los issues de temecms/teme

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.