Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

media regenerate problem with large image amount

Aperta
#120 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
wordpress
Ambito
cli

Direzione di ricerca

Start by reproducing wp media regenerate --only-missing --yes with a large image batch, then compare it with the single-post command and the reported behavior of existing formats. Trace the media regeneration entry point and failure handling; done means failed images retain their existing formats, with coverage for batch and single-image runs.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

command:media-regenerate

Bug Report

Hi,
I ran the command wp media regenerate --only-missing --yes over about 111.000 images.
About ~80.000 successful and ~30.000 failed.

The problem is that for the failed images, all image formats are gone or sometimes one is left in the database. I have like 12 image formats on my wordpress.

If I run the command for one failed image again wp media regenerate <post_id> --only-missing --yes it's successful.

So why get already correct existing formats in the database deleted when wp media regenerate fail?

Running wp media regenerate <post_id> --only-missing --yes with 100 post_id on the other hand works, strange thing.

Lingua principale
Gherkin
Stelle
47
Fork
42
Merge medio
2h 30m
PR unite (30g)
4

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di wp-cli/media-command

Tutte le issue di wp-cli/media-command

Issue simili

Altre issue su CLI

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.