=== Force Regenerate Thumbnails ===
Contributors: pedro-elsner, nosilver4u
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 2.3.0
License: GPLv2
Tags: force, regenerate thumbnails, thumbnail, thumbnails

Delete and REALLY force thumbnail regeneration.

== Description ==

Force Regenerate Thumbnails allows you to delete all old images sizes and REALLY regenerate the thumbnails for your uploads.

Regenerate all thumbnails from the Tools admin menu. Regenerate batches of images via the Media Library list mode. Select the images to regenerate and then use the Bulk Actions drop-down menu to Force Regenerate Thumbnails. Use attachment actions to regenerate thumbnails for a single image.

Several filters exist for advanced usage. See more via [this gist](https://gist.github.com/nosilver4u/eb858df10521aece2044a3a15ccdd17b).

You may report security issues through our Patchstack Vulnerability Disclosure Program. The Patchstack team helps validate, triage and handle any security vulnerabilities. [Report a security vulnerability.](https://patchstack.com/database/vdp/force-regenerate-thumbnails)

== Installation ==

1. Go to your admin area and select Plugins -> Add new from the menu.
2. Search for "Force Regenerate Thumbnails".
3. Click install.
4. Click activate.
5. Go to Tools -> Force Regenerate Thumbnails OR select specific images from the Media Library list mode to regenerate.

== Screenshots ==

1. The plugin at work regenerating thumbnails
2. You can resize specific multiples images using the checkboxes and the "Bulk Actions" dropdown

== ChangeLog ==

= 2.3.0 =
*Release Date - February 17, 2026*

* added: WP_CLI command: force-regenerate-thumbnails props @realmranshuman
* fixed: PHP 8.5 compatibility

= 2.2.2 =
*Release Date - June 3, 2025*

* fixed: PHP notice when regenerating select images

= 2.2.1 =
*Release Date - November 12, 2024*

* added: list of active image sizes when regenerating thumbs for all images

= 2.2.0 =
*Release Date - September 17, 2024*

* added: regen process can be resumed
* fixed: nonce expiration stops regen process
* fixed: JS errors on thumb regen page

= 2.1.4 =
*Release Date - April 23, 2024*

* fixed: thumb removal via metadata not working due to undefined variable

= 2.1.3 =
*Release Date - September 13, 2023*

* changed: use updated coding standards
* fixed: WP image edits lost if pre-scaled original is used for thumbnail generation

= 2.1.2 =
*Release Date - March 21, 2023*

* changed: improved i18n for page headings and menu entries, props @alexclassroom

= 2.1.1 =
*Release Date - January 18, 2023*

* fixed: invalid trailing comma syntax in PHP 7.2

= 2.1.0 =
*Release Date - November 10, 2022*

* added: PHP 8.0 compatibility
* added: support generating thumbnails from original (pre-scaled), on by default
* added: support for PDF thumbnail generation
* added: ability to skip an image by regenerate_thumbs_skip_image filter
* changed: escape all output, sanitize all input
* changed: ensure all strings are i18n
* changed: remove HTML from i18n strings
* changed: improve path lookup function
* fixed: call to set_time_limit() when it is not allowed

= Earlier versions =
Please refer to the separate changelog.txt file.
