media-command icon indicating copy to clipboard operation
media-command copied to clipboard

Add reason for skipping regeneration

Open schlessera opened this issue 6 years ago • 3 comments

We get a lot of bug reports and support reports related to the thumbnail regeneration, where it often is just not clear why the regeneration is being skipped.

The command should be more verbose and add the specific reason for why it decided to skip a given thumbnail regeneration.

Also, it should come with additional --debug output in case one wants to verify said reasons.

schlessera avatar Oct 03 '18 17:10 schlessera

When wrong flag is passed, it doesn't regenerate images with error that images don't exists. In documentation it says that correct flag is --yes but error message could be improved as to avoid confusion.

wp media regenerate -y
Warning: No images found.

wp media regenerate -yes
Warning: No images found.

wp media regenerate --y
Error: Parameter errors:
 unknown --y parameter
Did you mean '--yes'?

wp media regenerate --yes
Found 455 images to regenerate.
(regenerating...)

marko-stimac avatar Dec 11 '18 07:12 marko-stimac

@marko-stimac This is unrelated, please open a separate issue if you want to raise that as a bug.

schlessera avatar Dec 12 '18 07:12 schlessera

Oh dear... almost 3 years an still open? Is this repo still alive?

dmytro-kerest avatar Jun 03 '21 12:06 dmytro-kerest