Skip to content

Add option to delete unknown image sizes#199

Merged
swissspidy merged 3 commits intomainfrom
fix/111-only-delete-unknown
Jun 6, 2024
Merged

Add option to delete unknown image sizes#199
swissspidy merged 3 commits intomainfrom
fix/111-only-delete-unknown

Conversation

@swissspidy
Copy link
Member

With --delete-unknown, one can quickly remove files & image meta for image sizes that no longer exist, without having to regenerate other thumbnails or anything.

Fixes #198

Fixes #111 (or at least half of it?)

@swissspidy swissspidy added the command:media-regenerate Related to 'media regenerate' command label May 13, 2024
@swissspidy swissspidy requested a review from a team as a code owner May 13, 2024 12:10
@swissspidy swissspidy added this to the 2.2.0 milestone Jun 6, 2024
@swissspidy swissspidy merged commit 8eefc10 into main Jun 6, 2024
@swissspidy swissspidy deleted the fix/111-only-delete-unknown branch June 6, 2024 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

command:media-regenerate Related to 'media regenerate' command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove outdated thumbnail sizes skip existing and delete unregistred in WP cli ?

2 participants