Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reason for skipping regeneration #95

Open
schlessera opened this issue Oct 3, 2018 · 3 comments
Open

Add reason for skipping regeneration #95

schlessera opened this issue Oct 3, 2018 · 3 comments

Comments

@schlessera
Copy link
Member

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.

@marko-stimac
Copy link

marko-stimac commented Dec 11, 2018

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...)

@schlessera
Copy link
Member Author

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

@dmytro-kerest
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants