media-command
media-command copied to clipboard
Imports files as attachments, regenerates thumbnails, or lists registered image sizes.
This PR is to address https://github.com/wp-cli/media-command/issues/95 Related https://github.com/wp-cli/wp-cli/issues/5955 Looking to update test to cover new code
## Bug Report - [X] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [X] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). **Describe the current,...
## Feature Request - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). **Describe your use case and the problem you are facing** When cleaning up images, some leftovers remain - specifically...
More thorough removal of files with unknown or unregistered image sizes. Delete corresponding .webp images if they exist. Log deleted and generated file names. Fixes #217
## Feature Request - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). **Describe your use case and the problem you are facing** I had the case that I needed to regenerate...