Media Tracker – Track Unused, Duplicate & Used Media source code
By Rejuan Ahamed, on WordPress.org since 2024. 1,000+ active installs.
Media Tracker is a powerful WordPress plugin designed to help you identify and remove unused media files, manage duplicate images, and streamline your media library for better site performance and storage efficiency. Below is its source code for every one of its 26 releases, what changed in the latest one, and how often it ships.
What changed in 1.4.1
Released Oct 7, 2026, 2 days after 1.4.0- Performance: Unused media scan is now much faster on large sites — attachment URL to post ID lookups rewritten from one database query per file (O(n²)) to a single batched query (up to 500 URLs per query)
- Fixed: Unused Media page no longer shows everything hidden on first visit — the “Scan Unused Media” and “Remove all unused media” buttons are now always visible, even before the first scan
- Fixed: Scan progress can no longer hang at 99% — if the background scan process dies (host timeout, disabled cron), the scan is automatically re-scheduled and closes gracefully if it cannot continue
- Fixed: Duplicate media footer action buttons now display white icons correctly
12 files changed since 1.4.0: 11 modified, 1 added, 0 removed.
- assets/dist/css/mt-admin.css modified, +11 bytes
- assets/dist/images/main-logo.svg modified, -35 bytes
- assets/dist/js/mt-admin.js modified, +143 bytes
- assets/src/images/main-logo.svg modified, -35 bytes
- assets/src/js/mt-admin.js modified, +467 bytes
- assets/src/scss/mt-admin.scss modified, +33 bytes
- includes/Admin/Menu.php modified, +3,642 bytes
- includes/Admin/Unused_Media_List.php modified, +5,947 bytes
- languages/media-tracker.pot modified, +76 bytes
- media-tracker.php modified, same size
And 2 more.
Compare 1.4.0 with 1.4.1Release history
26 releases since August 2026- 1.4.1 Oct 7, 2026 Performance: Unused media scan is now much faster on large sites — attachment URL to post ID lookups rewritten from one database query per file (O(n²)) to a single batched query (up to 500 URLs per query)
- 1.4.0 Oct 4, 2026 New: Media Tracker now has its own top-level admin menu (no longer under the Media menu)
- 1.3.7 Aug 24, 2026 Fixed: Unused media list bug fixed
- 1.3.6 Aug 16, 2026 Fixed: Unused media list bug fixed
- 1.3.5 Aug 16, 2026 Fixed: Screenshot option CSS issue fixed