Disable Thumbnails, Threshold and Image Options source code
By kgmservizi, on WordPress.org since 2020. 1,000+ active installs.
Something not working? Open a ticket and we’ll reply within 48 hours. WordPress generates several image sizes every time you upload a photo. Most themes and plugins add even more. Below is its source code for every one of its 2 releases, what changed in the latest one, and how often it ships.
What changed in 0.8.0
Released Nov 7, 2026, 6 months after 0.7.0- Requirements: minimum PHP raised to 8.0 and minimum WordPress to 5.6 (the first release with PHP 8.0 support).
- Fix: saving the Image Sizes page with every size unchecked caused a fatal error.
- Fix: settings saved through WP-CLI were silently discarded.
- Fix: the “cropped” label now appears for custom image sizes registered with cropping.
- Fix: no fatal error when another plugin hooks jpeg_quality or big_image_size_threshold with required extra arguments.
- Coding standards cleanup.
6 files changed since 0.7.0: 6 modified, 0 added, 0 removed.
- disable-thumbnails-and-thresold.php modified, +1,057 bytes
- includes/admin.css modified, +630 bytes
- includes/option-quality.php modified, +384 bytes
- includes/option-threshold-exif.php modified, +372 bytes
- includes/option-thumbnails.php modified, +73 bytes
- readme.txt modified, +612 bytes
Release history
2 releases since April 2026- 0.8.0 Nov 7, 2026 Requirements: minimum PHP raised to 8.0 and minimum WordPress to 5.6 (the first release with PHP 8.0 support).
- 0.7.0 Apr 12, 2026 Improved accessibility: toggle switches are now fully keyboard-navigable with visible focus indicators and screen-reader labels.